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

module iam-role-for-service-accounts-eks missing required policy #195

Closed
ShyWiz opened this issue Mar 2, 2022 · 5 comments · Fixed by #196
Closed

module iam-role-for-service-accounts-eks missing required policy #195

ShyWiz opened this issue Mar 2, 2022 · 5 comments · Fixed by #196

Comments

@ShyWiz
Copy link

ShyWiz commented Mar 2, 2022

Description

Need to add missing permission to the IAM policy generated in the module iam-role-for-service-accounts-eks.

Permission denied error from AWS cluster-autoscaler.

aws_cloud_provider.go:369] Failed to generate AWS EC2 Instance Types: UnauthorizedOperation: You are not authorized to perform this operation.
        status code: 403

Turns out this action was added to the autoscaler readme required permissions which is referenced by this module's policies.tf file but needs to be updated. This required permission was added to that readme in December.

Versions

  • Terraform module iam-role-for-service-accounts-eks v4.13.1
  • Helm chart for cluster-autoscaler version: 9.16.0
@bryantbiggs
Copy link
Member

hmm, we patched this but it looks like the CI didn't trigger the release

@DanielTeraSky
Copy link

@bryantbiggs It looks like the semantic-release/commit-analyzer didn't trigger the release as the commit message didn't contain fix/feat

@bryantbiggs
Copy link
Member

ah good point, I've got a no-op PR opened that should trigger the release workflow so the patch fix is released this time

@antonbabenko
Copy link
Member

This issue has been resolved in version 4.13.2 🎉

@github-actions
Copy link

github-actions bot commented Nov 8, 2022

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 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
4 participants