Skip to content

Commit

Permalink
Update main.tf
Browse files Browse the repository at this point in the history
Removing management for edge_security_dictionary_items
  • Loading branch information
BrooksCunningham authored Oct 22, 2024
1 parent ecadaeb commit 318daf7
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions ngwaf-terraform-edge-deploy/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 318daf7

Please sign in to comment.