-
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
Terraform attempts to re-create MSK Connect Custom Plugins #22682
Comments
It seems AWS now supports MSK Connect Custom Plugin deletion. The option shows up both in the CLI and the UI. This should make things easier. |
I just tried testing this using latest v4.6 provider and behavior is the SAME. TF THINKS its destroyed but indeed does NOT destroy. We are actually constrained now to <v4 provider for the time being until we work through all of the ddeprecations. Is my only option boto3 OR CloudFormation? Looking at CloudFormation, there only appears to be a resource for the connector... |
Kafka Connect Custom Plugin deletion available with AWS SDK v1.43.9. |
This functionality has been released in v4.8.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. |
Community Note
Terraform CLI and Terraform AWS Provider Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
Available on request.
Expected Behavior
Running
apply
,destroy
andapply
again should not generate any error.Actual Behavior
The first
terraform apply
works fine.The
terraform destroy
says it destroyed the MSK Custom Plugin, except it's not the case since it's impossible (AWS does not support this operation).The next
terraform apply
attempts to re-create the MSK Custom Plugin but fails with this error:Steps to Reproduce
terraform apply
terraform destroy
terraform apply
If you manually import the MSK Connect Custom Plugin with
terraform import
before step 3, this solves the issue.Important Factoids
As of now AWS doesn't support MSK Connect Custom Plugin deletion.
The text was updated successfully, but these errors were encountered: