-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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]: aws_ram_principal_association causes planning failure if the association state changes to DISASSOCIATED due to external factors #35296
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
I attempted to force this to work by using |
Hi @ryancausey! I'll take a look and see if I can work something out. I've just started contributing to this provider recently, so it might be that it takes a bit longer :) |
This functionality has been released in v5.41.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
v1.5.7
AWS Provider Version
v5.32.1
Affected Resource(s)
Expected Behavior
The
aws_ram_principal_association
should have seen the DISASSOCIATED state and attempted to bring the resource back to the ASSOCIATED state during the plan phase.Actual Behavior
The
aws_ram_principal_association
fails during the plan phase due to expected an ASSOCIATED state when there is actually a DISASSOCIATED state.Relevant Error/Panic Output Snippet
Terraform Configuration Files
Steps to Reproduce
principal
.Debug Output
No response
Panic Output
No response
Important Factoids
I suspect that any sort of manual disassociation causes this failure, but I provided the steps that caused this to occur for me. Due to a different bug, #35295, I ended up unchecking the "Enable sharing with AWS Organizations" box via the API.
I attempted to resolve it by deleting the resource share entirely to force its re-creation, but the
aws_ram_principal_association
resource continues to fail with the same error during the plan phase.References
#35295
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: