Skip to Content
🏗️ InfrastructureEnvironmentsGlobal AWS configurations

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

  1. Uncomment the code creating this bucket; comment the backend block
  2. terraform init
  3. Set the bucket name
  4. terraform apply
  5. terraform state rm aws_s3_bucket.terraform_state
  6. comment the bucket definition; uncomment the backend block
  7. terraform init (“yes” to copying the state file)
  8. destroy local copies of the state file

This bucket name can now be in your s3.tfbackend files everywhere.

Last updated on