From 3d4f37366c4dfcf6a0d699c70d1655addb0e2508 Mon Sep 17 00:00:00 2001 From: Rui Date: Mon, 2 Sep 2024 10:07:17 +0000 Subject: [PATCH] fix: add missing permission --- k8s/eks.tf | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/k8s/eks.tf b/k8s/eks.tf index 1b03ed1..ca6d671 100644 --- a/k8s/eks.tf +++ b/k8s/eks.tf @@ -89,6 +89,7 @@ resource "aws_iam_policy" "coder_policy" { "ec2:DescribeIamInstanceProfileAssociations", "ec2:DescribeTags", "ec2:DescribeInstances", + "ec2:DescribeInstanceStatus", "ec2:DescribeInstanceTypes", "ec2:CreateTags", "ec2:RunInstances", @@ -139,7 +140,3 @@ output "aws_configuration_command" { value = "aws eks update-kubeconfig --region eu-south-1 --name ${module.eks.cluster_name}" } -output "eks_managed_groups_iam_role_arn" { - value = module.eks.eks_managed_node_groups.one.iam_role_name -} -