From 47408ad8e28b6dfcec0bd2ba288bff3343f962cd Mon Sep 17 00:00:00 2001 From: Jacob Coffee Date: Mon, 16 Sep 2024 11:54:19 -0500 Subject: [PATCH 1/2] fix: recreate dictionary each run --- infra/cdn/main.tf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/infra/cdn/main.tf b/infra/cdn/main.tf index eb6c6858c..6be3ed41b 100644 --- a/infra/cdn/main.tf +++ b/infra/cdn/main.tf @@ -347,6 +347,7 @@ resource "fastly_service_vcl" "python_org" { for_each = var.activate_ngwaf_service ? [1] : [] content { name = var.edge_security_dictionary + force_destroy = true } } @@ -391,6 +392,8 @@ resource "fastly_service_vcl" "python_org" { product_enablement, ] } + + force_destroy = true } output "service_id" { From d3511834496b588aee093429c17ad64edeaad33b Mon Sep 17 00:00:00 2001 From: Jacob Coffee Date: Mon, 16 Sep 2024 12:05:40 -0500 Subject: [PATCH 2/2] Update infra/cdn/main.tf --- infra/cdn/main.tf | 2 -- 1 file changed, 2 deletions(-) diff --git a/infra/cdn/main.tf b/infra/cdn/main.tf index 6be3ed41b..c50888e3f 100644 --- a/infra/cdn/main.tf +++ b/infra/cdn/main.tf @@ -392,8 +392,6 @@ resource "fastly_service_vcl" "python_org" { product_enablement, ] } - - force_destroy = true } output "service_id" {