-
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]: Unable to update MSK cluster policy after creation #33107
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
Here is the Debug log if it helps. |
@vishwa-trulioo Thanks for raising this issue 👏. |
This functionality has been released in v5.14.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.5.0
AWS Provider Version
5.13.1
Affected Resource(s)
aws_msk_cluster_policy
Expected Behavior
After you create a MSK cluster policy using aws_msk_cluster_policy as per the example. The exact same policy. Then if you make a small update to the policy, e.g. adding another account to the principals list. Expected the cluster policy update to go through without issues.
Actual Behavior
After you create a MSK cluster policy using aws_msk_cluster_policy as per the example. The exact same policy. Then if you make a small update to the policy, e.g. adding another account to the principals list. Terraform fails with the following error.
Relevant Error/Panic Output Snippet
Basically, The newly created resource `aws_msk_cluster_policy` is not pulling the current policy version prior to being updated.
Terraform Configuration Files
Steps to Reproduce
Create an MSK cluster with Cluster policy enabled. And then try updating the policy.
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
@ewbankkit I found a small bug in the newly implemented
aws_msk_cluster_policy
resource.This is related to this github issue.
#32848
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: