From 479dced56aa2aa106ad5e2a346aea3ad7ccc0b5c Mon Sep 17 00:00:00 2001 From: Olamide Date: Wed, 14 Aug 2024 16:41:55 +0100 Subject: [PATCH] Update iam role policy attachment name --- aws/cluster/modules/eks-node-role/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws/cluster/modules/eks-node-role/main.tf b/aws/cluster/modules/eks-node-role/main.tf index b4a7985..eabe71d 100644 --- a/aws/cluster/modules/eks-node-role/main.tf +++ b/aws/cluster/modules/eks-node-role/main.tf @@ -34,7 +34,7 @@ resource "aws_iam_role_policy_attachment" "eks_cloudwatch_agent_policy" { role = aws_iam_role.this.name } -resource "aws_iam_role_policy_attachment" "eks_ssm_instance_policy" { +resource "aws_iam_role_policy_attachment" "eks_s3_instance_policy" { policy_arn = "${local.policy_prefix}/AmazonS3ReadOnlyAccess" role = aws_iam_role.this.name }