From 22e2f79e3aee7fc00f525c051c5815705d5a1618 Mon Sep 17 00:00:00 2001 From: Guy Hannay Date: Wed, 17 Apr 2024 20:49:21 +0100 Subject: [PATCH] rm: unused vars --- infrastructure/data.tf | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/infrastructure/data.tf b/infrastructure/data.tf index 6eb0a0ad..06f713c5 100644 --- a/infrastructure/data.tf +++ b/infrastructure/data.tf @@ -1,18 +1,6 @@ locals { record_prefix = var.env == "prod" ? var.project_name : "${var.project_name}-${var.env}" host = terraform.workspace == "prod" ? "${var.project_name}.ai.cabinetoffice.gov.uk" : "${var.project_name}-${terraform.workspace}.ai.cabinetoffice.gov.uk" - - project_name_truncated = substr(var.project_name, 0, 5) - tg_name = length("${var.prefix}-${var.project_name}-${terraform.workspace}-target") < 32 ? "${var.prefix}-${var.project_name}-${terraform.workspace}-tg" : "${var.prefix}-${local.project_name_truncated}-${terraform.workspace}-tg" - - health_check = { - healthy_threshold = 3 - unhealthy_threshold = 3 - accepted_response = "200" - path = "/" - timeout = 6 - port = 8000 - } } data "terraform_remote_state" "vpc" {