Skip to content

Commit

Permalink
node group output + role fix
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 64a85df commit 40ac29d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions bootstrap/terraform/aws-bootstrap/capa-sa.tf
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ data "aws_iam_policy_document" "capa_controller" {
"elasticloadbalancing:DescribeLoadBalancers",
"elasticloadbalancing:DescribeLoadBalancerAttributes",
"elasticloadbalancing:DescribeTargetGroups",
"elasticloadbalancing:DescribeListeners",
"elasticloadbalancing:ApplySecurityGroupsToLoadBalancer",
"elasticloadbalancing:DescribeTags",
"elasticloadbalancing:ModifyLoadBalancerAttributes",
Expand Down
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 = 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[*])
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] : data.aws_eks_node_group.cluster[*]
}

output "vpc" {
Expand Down

0 comments on commit 40ac29d

Please sign in to comment.