Skip to content

Commit

Permalink
changing WAFv2 reference to arn rather than id
Browse files Browse the repository at this point in the history
  • Loading branch information
mnasr-moj committed Dec 31, 2024
1 parent 34e72d5 commit 4bb1786
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/environments/apex/cloudfront.tf
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ resource "aws_cloudfront_distribution" "external" {
prefix = local.application_name
}

web_acl_id = aws_wafv2_web_acl.waf_acl.id
web_acl_id = aws_wafv2_web_acl.waf_acl.arn

# This is a required block in Terraform. Here we are having no geo restrictions.
restrictions {
Expand Down

0 comments on commit 4bb1786

Please sign in to comment.