Skip to content

Commit

Permalink
terraform/iam.tf - eks_admin policy for launchtemplates
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelberston committed Nov 26, 2024
1 parent 59492df commit 0a9f800
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions terraform/iam.tf
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,15 @@ resource "aws_iam_role_policy" "eks_admin" {
Resource = [
module.eks.cluster_arn
]
},
{
Effect = "Allow"
Action = [
"ec2:RunInstances",
"ec2:DescribeLaunchTemplates",
"ec2:DescribeLaunchTemplateVersions"
]
Resource = "*"
}
]
})
Expand Down

0 comments on commit 0a9f800

Please sign in to comment.