aws / aws/containers-roadmap

[EKS] [request]: Add support for SSM AMI parameters in Managed Node Groups, Launch Templates

Open
#1,951 8 comments 35 reactions 0 assignees View on GitHub
EKS EKS Managed Nodes Proposed
Dominant language
Shell
Stars
5.4k
Forks
334
PR merge metrics
No merged PRs in 30d

Description

### Community Note

* Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request
* Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
* If you are interested in working on this issue or have submitted a pull request, please leave a comment

**Tell us about your request**
When creating a managed node group the resulting Launch Template does not have `ssm:GetParameters`

This is a request for the `ssm:GetParameters` SSM permissions to the `AWSServiceRoleForAmazonEKSNodegroup` role in order to use https://docs.aws.amazon.com/autoscaling/ec2/userguide/using-systems-manager-parameters.html

Without those permissions we can see:
```
"errorCode": "Client.SsmAccessDenied",
"errorMessage": "User: arn:aws:sts::XXXXXXXXXXX:assumed-role/AWSServiceRoleForAmazonEKSNodegroup/EKS is not authorized to perform: ssm:GetParameters on resource: arn:aws:ssm:us-east-1:XXXXXXXXXXX:parameter/ami/eks/XXXXXXXXX because no identity-based policy allows the ssm:GetParameters action"
```
**Which service(s) is this request for?**
EKS

**Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?**
What outcome are you trying to achieve, ultimately, and why is it hard/impossible to do right now? What is the impact of not having this problem solved? The more details you can provide, the better we'll be able to understand and solve the problem.
Dynamic AMI ID allocation for self managed addons.

**Are you currently working around this issue?**
How are you currently solving this problem?

Using self-managed nodes seems to be the only workaround here: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html#cfn-ec2-launchtemplate-launchtemplatedata-imageid

as the `arn:aws:iam::aws:policy/AmazonSSMManagedInstanceCore` has the `ssm:GetParameters`

Contributor guide

Open the contributing guide

Research direction

Start with the AWS EKS managed node group and Systems Manager Parameter Store documentation linked in the issue, then determine whether the AWSServiceRoleForAmazonEKSNodegroup role can receive ssm:GetParameters for launch-template AMI resolution. Done would mean managed node groups can use SSM AMI parameters without the reported Client.SsmAccessDenied error; the issue names no repository files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
cloud, infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.