From 318daf7b5d7e01f84c2c11661c3b6ce274d8c092 Mon Sep 17 00:00:00 2001 From: Brooks Cunningham Date: Tue, 22 Oct 2024 09:02:50 -0500 Subject: [PATCH] Update main.tf Removing management for edge_security_dictionary_items --- ngwaf-terraform-edge-deploy/main.tf | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/ngwaf-terraform-edge-deploy/main.tf b/ngwaf-terraform-edge-deploy/main.tf index 5af4af8..4139a18 100644 --- a/ngwaf-terraform-edge-deploy/main.tf +++ b/ngwaf-terraform-edge-deploy/main.tf @@ -116,17 +116,6 @@ resource "fastly_service_vcl" "frontend-vcl-service" { force_destroy = true } -resource "fastly_service_dictionary_items" "edge_security_dictionary_items" { - for_each = { - for d in fastly_service_vcl.frontend-vcl-service.dictionary : d.name => d if d.name == "Edge_Security" - } - service_id = fastly_service_vcl.frontend-vcl-service.id - dictionary_id = each.value.dictionary_id - items = { - Enabled : "100" - } -} - resource "fastly_service_dynamic_snippet_content" "ngwaf_config_init" { for_each = { for d in fastly_service_vcl.frontend-vcl-service.dynamicsnippet : d.name => d if d.name == "ngwaf_config_init" @@ -204,7 +193,6 @@ resource "sigsci_edge_deployment_service" "ngwaf_edge_service_link" { depends_on = [ sigsci_edge_deployment.ngwaf_edge_site_service, fastly_service_vcl.frontend-vcl-service, - fastly_service_dictionary_items.edge_security_dictionary_items, fastly_service_dynamic_snippet_content.ngwaf_config_init, fastly_service_dynamic_snippet_content.ngwaf_config_miss, fastly_service_dynamic_snippet_content.ngwaf_config_pass,