Terraform and IaC · Real-world situation · Beginner
Renaming a resource in code without destroying it
You want to rename a resource block from "aws_s3_bucket.data" to "aws_s3_bucket.raw_data." The plan shows it would destroy and recreate the bucket. How do you avoid that?
2:00