-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
[Bug]: Error: configmaps "aws-auth" is forbidden: User "system:anonymous" cannot get resource "configmaps" in API group "" in the namespace "kube-system" #38638
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
Thanks @james0209 I will try to upgrade to check if this resolves permissions issue and if not I will update the description. |
Hey @stafot 👋 Thank you for taking the time to raise this! In reviewing the report, it looks like the initial errors your receiving are coming from the Kubernetes provider, which is something you'd need to report in that provider's repository.
The error you received here was caused by the attempt at using a provider version that's older than the one that the resources are currently managed under, which isn't supported. Since this appears to be expected behavior as far as the AWS Provider is concerned, and there's no further action for the provider team to take, I'm going to close this issue. If you encounter unexpected behavior with the provider in the future, please do let us know! |
Warning This issue has been closed, meaning that any additional comments are hard for our team to see. Please assume that the maintainers will not see them. Ongoing conversations amongst community members are welcome, however, the issue will be locked after 30 days. Moving conversations to another venue, such as the AWS Provider forum, is recommended. If you have additional concerns, please open a new issue, referencing this one where needed. |
@justinretzolk
I am going to create a bug issue on the other provider but I need to understand why do you think that is expected a version upgrade in this provider is expected to cause another provider to break. |
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. |
Terraform Core Version
<=1.8.1
AWS Provider Version
>=5.58.0
Affected Resource(s)
Expected Behavior
Successful plan
Actual Behavior
Plan fails.
Relevant Error/Panic Output Snippet
If we use though aws provider <= 5.57.0 which fixes the above behavior we get another error
Thus we are in a deadend
Terraform Configuration Files
https://github.com/mattermost/mattermost-cloud-monitoring/tree/master/aws/cluster
We are using the above module being set in our internal infrastructure.
Cannot share the whole internal infrastructure structure
but
when we set
fails because it uses provider
5.60.0
(latest)but when we set
works
Steps to Reproduce
Use the above files we shared and run a plan
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None
Additional information:
We cannot use terraform >= 1.8.1 because there is an open bug in atlantis, although we can test it if you want to see if a recent terraform version fixes it. ref. runatlantis/atlantis#4471
The text was updated successfully, but these errors were encountered: