File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ module "firewall_waf_v2_api" {
1111 cloudfront_acl = false
1212 environment = var. environment
1313 owner = var. owner
14- # count = local.is_sandbox ? 0 : 1
15- api = true
14+ count = local. is_sandbox ? 0 : 1
15+ api = true
1616}
1717
1818resource "aws_wafv2_web_acl_association" "web_acl_association" {
@@ -27,12 +27,10 @@ resource "aws_wafv2_web_acl_association" "web_acl_association" {
2727
2828resource "aws_wafv2_web_acl_association" "api_gateway" {
2929 resource_arn = aws_api_gateway_stage. ndr_api . arn
30- # web_acl_arn = module.firewall_waf_v2_api[0].arn
31- web_acl_arn = module. firewall_waf_v2_api . arn
32- # count = local.is_sandbox ? 0 : 1
30+ web_acl_arn = module. firewall_waf_v2_api [0 ]. arn
31+ count = local. is_sandbox ? 0 : 1
3332 depends_on = [
3433 aws_api_gateway_stage . ndr_api ,
35- # module.firewall_waf_v2_api[0]
36- module . firewall_waf_v2_api
34+ module . firewall_waf_v2_api [0 ]
3735 ]
3836}
You can’t perform that action at this time.
0 commit comments