From 9e5dc5ffe11af094f1889aa33818620c95745fbe Mon Sep 17 00:00:00 2001 From: Sam Simpson Date: Tue, 3 Sep 2024 14:25:32 +0100 Subject: [PATCH] Remove all www modules --- www.tf | 33 --------------------------------- www/variables.tf | 2 +- 2 files changed, 1 insertion(+), 34 deletions(-) delete mode 100644 www.tf diff --git a/www.tf b/www.tf deleted file mode 100644 index c73d73f..0000000 --- a/www.tf +++ /dev/null @@ -1,33 +0,0 @@ -locals { - ab_tests = yamldecode(file("${path.module}/ab_tests.yaml")) -} - -module "www-staging" { - source = "./modules/www" - - configuration = { - environment = "staging" - git_hash = var.TFC_CONFIGURATION_VERSION_GIT_COMMIT_SHA - probe = "/" - ab_tests = local.ab_tests - } - - secrets = yamldecode(var.www_staging) - - dictionaries = local.dictionaries -} - -module "www-production" { - source = "./modules/www" - - configuration = { - environment = "production" - git_hash = var.TFC_CONFIGURATION_VERSION_GIT_COMMIT_SHA - probe = "/" - ab_tests = local.ab_tests - } - - secrets = yamldecode(var.www_production) - - dictionaries = local.dictionaries -} diff --git a/www/variables.tf b/www/variables.tf index f712c4f..9304aee 100644 --- a/www/variables.tf +++ b/www/variables.tf @@ -20,6 +20,6 @@ variable "vcl_template_file" { } variable "TFC_CONFIGURATION_VERSION_GIT_COMMIT_SHA" { - type = string + type = string default = "NO HASH" }