-
-
Notifications
You must be signed in to change notification settings - Fork 80
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
Unstable json in s3 bucket policy #53
Comments
any update pls? |
Is this issue actually associated with https://github.com/cloudposse/terraform-aws-cloudtrail-s3-bucket instead ? |
Problem is indeed in https://github.com/cloudposse/terraform-aws-cloudtrail-s3-bucket. Latest version of this module uses s3-log-storage module version 0.26 (https://github.com/cloudposse/terraform-aws-cloudtrail-s3-bucket/blob/master/main.tf#L13) which is managing bucket policy in 2 different places: Solution is to upgrade version of Update: There is a pull request: cloudposse/terraform-aws-cloudtrail-s3-bucket#59 which seems to be stalled. |
This issue relates to |
Describe the Bug
Applying this terraform module appears to work fine but the s3 bucket policy json is unstable and terraform wants to update it every run.
Expected Behavior
Subsequent terraform runs should not trigger updates to the provisioned resources
Steps to Reproduce
terraform apply
This correctly creates all resources.
terraform apply
The changes seem to be essentially no-ops but it would be great if they were consistent. It appears that amazon reformats inputted JSON and this collides with what is generated by terraform.
The text was updated successfully, but these errors were encountered: