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

s3 module terraform warnings refactor #302

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

ian-hoyle
Copy link
Contributor

@ian-hoyle ian-hoyle commented Dec 16, 2024

S3 module the resource aws_s3_bucket has attributes logging, lifecycle_rule, cors_rule ,acl andversioning that should be in separate resources. The grants should be defined in the iam policy
Refactoring the grants policy is not as simple as other resource changes. As the tdr-terrafom-module/s3 is to be deprecated a partial solution that covers the only case where canonical-user-grants variable has been used is provided so the warnings will disappear. The code is commented to explain the variable use/limitation

The vpc = true argument used to indicate that the EIP was associated with a VPC, but since AWS introduced this as the default behaviour, the attribute is redundant and has been removed from newer versions of the Terraform AWS Provider.

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

Successfully merging this pull request may close these issues.

1 participant