Skip to content

Commit 8596015

Browse files
committed
Fix CloudFront waf reference
* WAFv2 CloudFront references require arn rather than id
1 parent 2ab48da commit 8596015

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cloudfront-frontend.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ resource "aws_cloudfront_distribution" "frontend" {
6868

6969
is_ipv6_enabled = local.cloudfront_enable_ipv6
7070

71-
web_acl_id = aws_wafv2_web_acl.cloudfront_waf.id
71+
web_acl_id = aws_wafv2_web_acl.cloudfront_waf.arn
7272

7373
logging_config {
7474
include_cookies = false

0 commit comments

Comments
 (0)