Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output IAM role arns created by nodegroup submodules (iam_role_arn) #1923

Closed
tculp opened this issue Mar 7, 2022 · 2 comments
Closed

Output IAM role arns created by nodegroup submodules (iam_role_arn) #1923

tculp opened this issue Mar 7, 2022 · 2 comments

Comments

@tculp
Copy link
Contributor

tculp commented Mar 7, 2022

Is your request related to a new offering from AWS?

No

Is your request related to a problem? Please describe.

Updating or overwriting the aws-auth configmap is difficult without having easy access to which roles are used/created for the nodegroups.

Describe the solution you'd like.

An output by the eks parent module that provides a list of all nodegroup roles.

Describe alternatives you've considered.

  • Using a data source to pull role names
  • Manually copy role arns
  • Create node groups separately using the submodule directly (not preferred)

Additional context

This could also help satisfy #1744 and #1901

@bryantbiggs
Copy link
Member

you can see how to do this here https://github.com/terraform-aws-modules/terraform-aws-eks/blob/master/outputs.tf#L169-L179
or feel free to use the already formatted configmap and add in any additional roles/groups/etc. before consuming downstream

@github-actions
Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants