Global AWS configurations
This module should generally be created by an admin, and not applied or updated by a machine user.
Creation of the terraform state bucket
- Uncomment the code creating this bucket; comment the backend block
- terraform init
- Set the bucket name
- terraform apply
terraform state rm aws_s3_bucket.terraform_state- comment the bucket definition; uncomment the backend block
- terraform init (“yes” to copying the state file)
- destroy local copies of the state file
This bucket name can now be in your s3.tfbackend files everywhere.
Last updated on