Skip to content

Commit

Permalink
terraform syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
morsecodist committed Dec 15, 2021
1 parent c8a8d56 commit a98d558
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ resource "aws_key_pair" "swipe_batch" {
module "batch_subnet" {
source = "./terraform/modules/swipe-sfn-batch-subnet"
app_name = var.app_name
count = (var.vpc_id == "" || length(var.batch_subnet_ids)) == 0 ? 1 : 0
count = (var.vpc_id == "" || length(var.batch_subnet_ids) == 0) ? 1 : 0
}

module "batch_queue" {
Expand Down

0 comments on commit a98d558

Please sign in to comment.