From d65032f0286885489aa3fcb174daa4a6706bd8d2 Mon Sep 17 00:00:00 2001 From: Sukesh Date: Thu, 28 Nov 2024 10:25:01 +0000 Subject: [PATCH] removed import block from cdpt --- terraform/environments/cdpt-chaps/shield.tf | 8 +------- terraform/environments/cdpt-ifs/shield.tf | 6 ------ 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/terraform/environments/cdpt-chaps/shield.tf b/terraform/environments/cdpt-chaps/shield.tf index df8b4ddba86..0bbff549093 100644 --- a/terraform/environments/cdpt-chaps/shield.tf +++ b/terraform/environments/cdpt-chaps/shield.tf @@ -19,10 +19,4 @@ module "shield" { "threshold" = "250" } } -} - -import { - for_each = local.is-production ? { "build" = true } : {} - id = "10320dab-b3d2-426f-a02c-4a4a6a554be0/FMManagedWebACLV2-shield_advanced_auto_remediate-1700749032578/REGIONAL" - to = module.shield["build"].aws_wafv2_web_acl.main -} +} \ No newline at end of file diff --git a/terraform/environments/cdpt-ifs/shield.tf b/terraform/environments/cdpt-ifs/shield.tf index 350ef5dff84..03c07003a9a 100644 --- a/terraform/environments/cdpt-ifs/shield.tf +++ b/terraform/environments/cdpt-ifs/shield.tf @@ -20,9 +20,3 @@ module "shield" { } } } - -import { - for_each = local.is-production ? { "build" = true } : {} - id = "1302dec0-8c83-45ba-a371-0b1599aac5ed/FMManagedWebACLV2-shield_advanced_auto_remediate-1701773787672/REGIONAL" - to = module.shield["build"].aws_wafv2_web_acl.main -}