suggestion: add a default option selection for eks_managed_node_groups's that auto-enrolls eks_managed_node_groups with a policy attachment of arn:aws:iam::aws:policy/AmazonSSMManagedInstanceCore, to enable ssm-agent and therefore aws ec2 console instance "connection" default functionality.
## Is your request related to a new offering from AWS?
yes, ami's not included ssm-agent client software by default, which requires specific iam actions. iam and ssm have been supported in terraform for at last 1yr.
Is this functionality available in the [AWS provider for Terraform](https://registry.terraform.io/providers/hashicorp/aws/latest/docs)? See [CHANGELOG.md](https://github.com/hashicorp/terraform-provider-aws/blob/main/CHANGELOG.md), too.
- No 🛑: please wait to file a request until the functionality is avaialble in the AWS provider
- Yes ✅: please list the AWS provider version which introduced this functionality
## Is your request related to a problem? Please describe.
troubleshooting and instance connectivity, what is the default recommendation for getting a root shell session on any node on an eks cluster managed by aws-terraform-modules (using eks managed node groups backend).
## Describe the solution you'd like.
enable ssm-agent, which needs a specific iam action granted to the instance iam role to enable bi-directional communication between aws ssm and eks cluster instances.
## Describe alternatives you've considered.
- none
- ec2 user data injected static ssh authorized_keys (?), not thoroughly considered.
## Additional context
- none
suggestion: add a default option selection for
eks_managed_node_groups
's that auto-enrolls eks_managed_node_groups with a policy attachment of arn:aws:iam::aws:policy/AmazonSSMManagedInstanceCore, to enable ssm-agent and therefore aws ec2 console instance "connection" default functionality.aws docs, https://docs.aws.amazon.com/prescriptive-guidance/latest/patterns/install-ssm-agent-on-amazon-eks-worker-nodes-by-using-kubernetes-daemonset.html linking to, https://github.com/awslabs/amazon-eks-ami/releases/tag/v20210621 suggest this feature is included in eks ami's since 2021-06