From 40ac29d1c15755217ada7040de74dbeb17969e8e Mon Sep 17 00:00:00 2001 From: David van der Spek Date: Fri, 8 Sep 2023 13:28:04 +0200 Subject: [PATCH] node group output + role fix Signed-off-by: David van der Spek --- bootstrap/terraform/aws-bootstrap/capa-sa.tf | 1 + bootstrap/terraform/aws-bootstrap/output.tf | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bootstrap/terraform/aws-bootstrap/capa-sa.tf b/bootstrap/terraform/aws-bootstrap/capa-sa.tf index 35cf8273b..bfc919d36 100644 --- a/bootstrap/terraform/aws-bootstrap/capa-sa.tf +++ b/bootstrap/terraform/aws-bootstrap/capa-sa.tf @@ -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", diff --git a/bootstrap/terraform/aws-bootstrap/output.tf b/bootstrap/terraform/aws-bootstrap/output.tf index c040ef5d7..9c949f8d3 100644 --- a/bootstrap/terraform/aws-bootstrap/output.tf +++ b/bootstrap/terraform/aws-bootstrap/output.tf @@ -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" {