From 1b486dd9ad580e2e962934ced91ce9c102bde842 Mon Sep 17 00:00:00 2001 From: Mahmud Hussain Date: Wed, 27 Mar 2024 13:07:50 +0000 Subject: [PATCH] Remove variables Variables are not needed yet as all values are constants. --- modules/tld-redirect/service.tf | 6 +++--- .../tld-redirect/{tldredirect.vcl.tftpl => tldredirect.vcl} | 0 modules/tld-redirect/variable.tf | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename modules/tld-redirect/{tldredirect.vcl.tftpl => tldredirect.vcl} (100%) delete mode 100644 modules/tld-redirect/variable.tf diff --git a/modules/tld-redirect/service.tf b/modules/tld-redirect/service.tf index 47107c6..87b87b7 100644 --- a/modules/tld-redirect/service.tf +++ b/modules/tld-redirect/service.tf @@ -1,14 +1,14 @@ resource "fastly_service_vcl" "service" { - name = "${title(var.environment)} TLD Redirect" + name = "Production TLD Redirect" comment = "" domain { - name = var.domain + name = "gov.uk" } vcl { main = true name = "main" - content = file("${path.module}/${var.vcl_template_file}") + content = file("${path.module}/tldredirect.vcl") } } diff --git a/modules/tld-redirect/tldredirect.vcl.tftpl b/modules/tld-redirect/tldredirect.vcl similarity index 100% rename from modules/tld-redirect/tldredirect.vcl.tftpl rename to modules/tld-redirect/tldredirect.vcl diff --git a/modules/tld-redirect/variable.tf b/modules/tld-redirect/variable.tf deleted file mode 100644 index e69de29..0000000