Skip to content

Commit

Permalink
Merge pull request #269 from silinternational/check-cloudflare-domain
Browse files Browse the repository at this point in the history
Release 12.11.1 -- add check on cloudflare_domain to avoid plan fail
  • Loading branch information
briskt authored Oct 30, 2024
2 parents 3da766b + 72218a2 commit c83b1ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/010-cluster/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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 ? 1 : 0
count = var.create_dashboard && var.cloudflare_domain != "" ? 1 : 0

source = "silinternational/ecs-service-cloudwatch-dashboard/aws"
version = "~> 3.1"
Expand Down

0 comments on commit c83b1ee

Please sign in to comment.