From 22e7f8c95658f2b7be149e5800d34b5d6ce168b3 Mon Sep 17 00:00:00 2001 From: Sean Mann Date: Fri, 21 Feb 2025 14:44:43 -0500 Subject: [PATCH] Fix inverted conditional for bus creation --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 7a24f2d..17052f8 100644 --- a/main.tf +++ b/main.tf @@ -56,7 +56,7 @@ locals { } data "aws_cloudwatch_event_bus" "this" { - count = var.create && var.create_bus ? 0 : 1 + count = var.create && var.create_bus ? 1 : 0 name = var.bus_name }