DevOps-The-Hard-Way-AWS
DevOps-The-Hard-Way-AWS copied to clipboard
Updating Terraform State S3 bucket resources to new format required in AWS Provider v4.0.0
Full details around changes in new provider version here: https://registry.terraform.io/providers/hashicorp/aws/latest/docs/guides/version-4-upgrade#s3-bucket-refactor
Have also added a note about adding random numbers to the end of the S3 bucket name (to ensure it is globally unique).