- An existing S3 bucket tracked by Terraform.
If you don't have it, you can use the following block and run
terraform apply
:
resource "aws_s3_bucket" "some_bucket" {
bucket = "some-old-bucket"
}
- Rename an existing S3 bucket and make sure it's still tracked by Terraform