Skip to content

Commit 1fa5e05

Browse files
authored
fix: wrong count condition
1 parent 7708154 commit 1fa5e05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ locals {
5656
}
5757

5858
data "aws_cloudwatch_event_bus" "this" {
59-
count = var.create && var.create_bus ? 0 : 1
59+
count = var.create && var.create_bus ? 1 : 0
6060

6161
name = var.bus_name
6262
}

0 commit comments

Comments
 (0)