-
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
MSK Configuration: ConflictException: A resource with this name already exists #12724
Comments
Hi @Ezward 👋 Thank you for submitting this and sorry you ran into trouble. There's a few factors contributing to this unexpected behavior. The MSK API does not currently support deleting Configurations. We try to note this on the The MSK API unfortunately does not currently support updating Configurations either (the This leaves us with the situation that occurs now. If you have a MSK Configuration that needs updating, it must be recreated with a new name. The We can however implement name generation support into the resource as well, e.g. supporting a For now, I'm going to mark this as an enhancement to implement the name generation support for this resource since other changes required above are longer term or need to wait until the API is changed, which is outside the Terraform AWS Provider maintainers control. Hope this helps. |
Thank you. I did end up generating a new name to solve the problem. |
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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
I attempted to change
delete.topic.enable
from true to false in an aws_msk_configuration. It marked it for replacement. The apply then says it destroyed it, but the create of the replacement fails because the prior configuration exists.Community Note
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
Expected Behavior
I expect that the configuration's revision would be incremented and the configuration would be updated.
Actual Behavior
The text was updated successfully, but these errors were encountered: