From 598b2d5d533830ad57da8db3013d38fad0c4b56e Mon Sep 17 00:00:00 2001 From: briskt <3172830+briskt@users.noreply.github.com> Date: Tue, 12 Nov 2024 08:40:14 +0800 Subject: [PATCH] remove cloudflare_domain (left over from removed WAF rule) --- terraform/010-cluster/main.tf | 2 +- terraform/010-cluster/vars.tf | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/terraform/010-cluster/main.tf b/terraform/010-cluster/main.tf index f05840f..ce5df0a 100644 --- a/terraform/010-cluster/main.tf +++ b/terraform/010-cluster/main.tf @@ -114,7 +114,7 @@ resource "aws_cloudwatch_log_group" "logs" { * Create CloudWatch Dashboard for services that will be in this cluster */ module "ecs-service-cloudwatch-dashboard" { - count = var.create_dashboard && var.cloudflare_domain != "" ? 1 : 0 + count = var.create_dashboard ? 1 : 0 source = "silinternational/ecs-service-cloudwatch-dashboard/aws" version = "~> 3.1" diff --git a/terraform/010-cluster/vars.tf b/terraform/010-cluster/vars.tf index 14b1a62..0c0f34c 100644 --- a/terraform/010-cluster/vars.tf +++ b/terraform/010-cluster/vars.tf @@ -21,12 +21,6 @@ variable "cert_domain_name" { type = string } -variable "cloudflare_domain" { - description = "The base domain name to be used for Cloudflare resources, e.g. example.net" - type = string - default = "" -} - variable "create_dashboard" { description = "Set to false to remove the Cloudwatch Dashboard" type = bool