From a01ce9731731c56f716a9003a21b7ffeb5a035ac Mon Sep 17 00:00:00 2001 From: LeoDiazL Date: Wed, 20 Dec 2023 10:06:20 -0300 Subject: [PATCH] Adding more permissions --- operations/deployment/terraform/modules/aws/eks/aws_eks_iam.tf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/operations/deployment/terraform/modules/aws/eks/aws_eks_iam.tf b/operations/deployment/terraform/modules/aws/eks/aws_eks_iam.tf index 07f65256..98497411 100644 --- a/operations/deployment/terraform/modules/aws/eks/aws_eks_iam.tf +++ b/operations/deployment/terraform/modules/aws/eks/aws_eks_iam.tf @@ -40,11 +40,12 @@ resource "aws_iam_role" "iam_role_worker" { locals { master_policies = ["arn:aws:iam::aws:policy/AmazonEKSClusterPolicy", - #"arn:aws:iam::aws:policy/AmazonEKSVPCResourceController", + "arn:aws:iam::aws:policy/AmazonEKSVPCResourceController", "arn:aws:iam::aws:policy/AmazonEKSServicePolicy"] worker_policies = ["arn:aws:iam::aws:policy/AmazonEKSWorkerNodePolicy", "arn:aws:iam::aws:policy/AmazonEKS_CNI_Policy", "arn:aws:iam::aws:policy/AmazonEC2ContainerRegistryReadOnly", + "arn:aws:iam::aws:policy/AmazonSSMManagedInstanceCore", "arn:aws:iam::aws:policy/AmazonEC2FullAccess"] }