Skip to content

Commit

Permalink
fix node output if capi
Browse files Browse the repository at this point in the history
Signed-off-by: David van der Spek <[email protected]>
  • Loading branch information
davidspek committed Sep 8, 2023
1 parent 9fd3b94 commit 64a85df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bootstrap/terraform/aws-bootstrap/output.tf
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ output "worker_role_arn" {
}

output "node_groups" {
value = try(var.create_cluster ? [for d in merge(one(module.single_az_node_groups[*].node_groups), one(module.multi_az_node_groups[*].node_groups)): d] : tomap(false), one(data.aws_eks_node_group.cluster[*]))
value = var.create_cluster ? [for d in merge(one(module.single_az_node_groups[*].node_groups), one(module.multi_az_node_groups[*].node_groups)): d] : one(data.aws_eks_node_group.cluster[*])
}

output "vpc" {
Expand Down

0 comments on commit 64a85df

Please sign in to comment.