github gruntwork-io/terragrunt v0.37.0

2 years ago

Updated CLI args, config attributes and blocks

  • remote_state [BACKWARD INCOMPATIBLE]

Description

  • Updated logic for handling remote_state to enforce what is defined in the block of config, the change affects default encryption settings, public access blocking, bucket policy (enforce SSL only), access logging, and versioning

  • Fixed behavior for enforcing EnforcedTLS to not overwrite already configured RootAccess policy

Migration guide

If you do not want terragrunt to update the S3 bucket based on the configurations, you can define the config attribute disable_bucket_update = true in the remote_state block.

If you have an environment where it is difficult to update terragrunt and your configuration simultaneously, you can use v0.36.12 which supports the new disable_bucket_update configuration, but does not implement the bucket updating behavior.

To perform a safe upgrade:

  • Upgrade your Terragrunt environment to v0.36.12
  • Add disable_bucket_update = true in the remote_state block config map.
  • Run terragrunt to confirm Terragrunt doesn't update the state buckets.
  • Upgrade your Terragrunt environment to v0.37.0 and confirm Terragrunt still does not update the state buckets.

Special thanks

Special thanks to the following users for their contribution!

Related links

Don't miss a new terragrunt release

NewReleases is sending notifications on new releases.