github cloudposse/terraform-aws-tfstate-backend v1.11.0

one hour ago

✨ Features

Add blocked_encryption_types to stop drift on the state bucket encryption rule @david-parker-softrams (#198) ## what * Add `blocked_encryption_types` and pass it to the bucket's server-side encryption rule. * Set the complete example to block `SSE-C`. * Raise the minimum AWS provider version to `>= 6.22.0` in the module and the example.

why

  • AWS or a security team can set blocked encryption types outside Terraform. Without this input, Terraform keeps planning to remove the setting.
  • The provider added this argument in 6.22.0. A null value still fails on older providers, so the floor must go up.
  • What breaks: AWS provider versions from 6.0.0 up to (not including) 6.22.0 are no longer supported.
  • How to migrate: upgrade the AWS provider to 6.22.0 or later. Set blocked_encryption_types to match any value already set on the bucket.

references

  • Same fix in cloudposse/terraform-aws-s3-bucket: issue #287, PR #289
  • Prior encryption input: #178

Don't miss a new terraform-aws-tfstate-backend release

NewReleases is sending notifications on new releases.