cloudposse / terraform-aws-cloudfront-s3-cdn

Terraform module to easily provision CloudFront CDN backed by an S3 origin
https://cloudposse.com/accelerate
Apache License 2.0
274 stars 247 forks source link

Please add support for web_acl_id #318

Open fasihhaider123 opened 2 months ago

fasihhaider123 commented 2 months ago

Describe the Feature

it will allow an integration of waf acl with cloudfront distribution so please can you please add an association so i can use waf with cloudfront on my all projects.

Expected Behavior

it will work with waf acl.

Use Case

because right now there is no feature to use waf with cloudfront that's why it is much needed.

Describe Ideal Solution

we just have to add a variable in the end like web_acl_id = var.web_acl_id in the module and have to add the same variable in the variables file that's it.

Alternatives Considered

No response

Additional Context

No response

marinflorin commented 3 weeks ago

Already exists: https://registry.terraform.io/modules/cloudposse/cloudfront-s3-cdn/aws/0.95.0#input_web_acl_id