terraform-aws-cloudfront-s3-cdn
terraform-aws-cloudfront-s3-cdn copied to clipboard
Feature/optional ignore web acl id changes [WIP] [FOR COMMENT]
what
- If you're using an AWS Managed central WAF, it will automagically attach to your cloudfront distribution, which is nice.
- But, terraform will then attempt an
update-in-place
every time:
- web_acl_id = "816baba3-0619-61b3-ba3c-301e05e17621" -> null
# (20 unchanged attributes hidden)
Which is not as great.
why this change
- You can't use a data source to attach the acl elegantly, because it's got a generated name.
- It'd be handy just to say 'ignore this'