Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aws provider 4 & require-private-acl-and-kms-for-s3-buckets fails on new s3 buckets #323

Open
Zambonilli opened this issue Mar 25, 2022 · 0 comments

Comments

@Zambonilli
Copy link

We're seeing failures in the require-private-cl-and-kms-for-s3-buckets policy fail in sentinel for new s3 buckets after upgrading to aws provider 4. Looking at the code, we believe it is because the terraform plan output in 0.13.7 runtime for aws provider 4 produces a plan result where server_side_encryption_configuration is linked to new resource objects as opposed to embedding the object. Which causes the "computed" clause here to fail.

https://github.com/hashicorp/terraform-guides/blob/master/governance/second-generation/aws/require-private-acl-and-kms-for-s3-buckets.sentinel#L83

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant