Skip to content

Commit

Permalink
Updating aws_wafregional_web_acl_association for cloudfront -> to be …
Browse files Browse the repository at this point in the history
…tested yet
  • Loading branch information
exequielrafaela committed Jul 11, 2019
1 parent 156e2a8 commit 0b470aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/waf-global/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ resource "aws_waf_web_acl" "waf_acl" {
#
# This is how we link the WAF ACL to one or many ALBs.
#
resource "aws_waf_web_acl_association" "acl_alb_association" {
resource "aws_wafregional_web_acl_association" "acl_cloudfront_association" {
depends_on = ["aws_waf_web_acl.waf_acl"]
count = "${length(var.cloudfront_arn)}"
resource_arn = "${element(var.cloudfront_arn, count.index)}"
Expand Down

0 comments on commit 0b470aa

Please sign in to comment.