Skip to content

Commit e0889ba

Browse files
VIA-699 AS/AJ Remove WAF from Preprod env
1 parent f463fb9 commit e0889ba

File tree

1 file changed

+1
-1
lines changed
  • infrastructure/modules/deploy_app

1 file changed

+1
-1
lines changed

infrastructure/modules/deploy_app/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ module "deploy_app" {
2828
}
2929

3030
waf = {
31-
deployment = var.environment != "dev" ? "CREATE" : "NONE",
31+
deployment = var.environment == "prod" || var.environment == "test" ? "CREATE" : "NONE",
3232
aws_managed_rules = [
3333
{
3434
name = "amazon-ip-reputation-list"

0 commit comments

Comments
 (0)