-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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]: sporadic errors in aws_eks_access_policy_association #35728
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
Relates #35535. |
so in the runs mentioned above, the roles in question were not updated at all. thats why a data source is used for the role instead of a resource |
This functionality has been released in v5.37.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
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.7.3
AWS Provider Version
5.36.0
Affected Resource(s)
Expected Behavior
I am associating AWS SSO created IAM roles to eks access entries using code given below. if this code is going to fail due to
principal_arn
not being found, it should fail during the planning phase itself. it should never be the case thatprincipal_arn
is found during planning and i get an error of it not being found during application phase, especially if no other changes to aws is made during this time.Actual Behavior
Here is a screenshot of this full terraform run. you can see all the
policyArn
this fails on was indeed inferred correctly in the data sources.on just re-running terraform, without making any changes, the errors go away and apply finishes. its unclear what causes the code to fail in the first place and why it suddenly works next time
Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Steps to Reproduce
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: