-
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
Add aws_mskconnect_custom_plugin resource #22333
Add aws_mskconnect_custom_plugin resource #22333
Conversation
I'm looking at the Kafka Connect API reference, and the thing that stands up the most is the fact that custom plugins and worker configurations don't have update and delete methods. While it's ok for the update, I'm not really sure how to handle the delete. Currently I just have an empty method that basically does nothing. |
And looking at the |
9776935
to
cbbc90d
Compare
6b73ca7
to
9095283
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀.
Commercial
% make testacc TESTARGS='-run=TestAccKafkaConnectCustomPlugin_\|TestAccKafkaConnectCustomPluginDataSource_' PKG_NAME=internal/service/kafkaconnect
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/kafkaconnect/... -v -count 1 -parallel 20 -run=TestAccKafkaConnectCustomPlugin_\|TestAccKafkaConnectCustomPluginDataSource_ -timeout 180m
=== RUN TestAccKafkaConnectCustomPluginDataSource_basic
=== PAUSE TestAccKafkaConnectCustomPluginDataSource_basic
=== RUN TestAccKafkaConnectCustomPlugin_basic
=== PAUSE TestAccKafkaConnectCustomPlugin_basic
=== RUN TestAccKafkaConnectCustomPlugin_description
=== PAUSE TestAccKafkaConnectCustomPlugin_description
=== RUN TestAccKafkaConnectCustomPlugin_contentType
=== PAUSE TestAccKafkaConnectCustomPlugin_contentType
=== RUN TestAccKafkaConnectCustomPlugin_objectVersion
=== PAUSE TestAccKafkaConnectCustomPlugin_objectVersion
=== CONT TestAccKafkaConnectCustomPluginDataSource_basic
=== CONT TestAccKafkaConnectCustomPlugin_contentType
=== CONT TestAccKafkaConnectCustomPlugin_description
=== CONT TestAccKafkaConnectCustomPlugin_basic
=== CONT TestAccKafkaConnectCustomPlugin_objectVersion
--- PASS: TestAccKafkaConnectCustomPlugin_objectVersion (76.10s)
--- PASS: TestAccKafkaConnectCustomPlugin_description (82.20s)
--- PASS: TestAccKafkaConnectCustomPlugin_basic (82.43s)
--- PASS: TestAccKafkaConnectCustomPluginDataSource_basic (84.47s)
--- PASS: TestAccKafkaConnectCustomPlugin_contentType (130.55s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/kafkaconnect 135.948s
GovCloud
% make testacc TESTARGS='-run=TestAccKafkaConnectCustomPlugin_\|TestAccKafkaConnectCustomPluginDataSource_' PKG_NAME=internal/service/kafkaconnect
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/kafkaconnect/... -v -count 1 -parallel 20 -run=TestAccKafkaConnectCustomPlugin_\|TestAccKafkaConnectCustomPluginDataSource_ -timeout 180m
=== RUN TestAccKafkaConnectCustomPluginDataSource_basic
=== PAUSE TestAccKafkaConnectCustomPluginDataSource_basic
=== RUN TestAccKafkaConnectCustomPlugin_basic
=== PAUSE TestAccKafkaConnectCustomPlugin_basic
=== RUN TestAccKafkaConnectCustomPlugin_description
=== PAUSE TestAccKafkaConnectCustomPlugin_description
=== RUN TestAccKafkaConnectCustomPlugin_contentType
=== PAUSE TestAccKafkaConnectCustomPlugin_contentType
=== RUN TestAccKafkaConnectCustomPlugin_objectVersion
=== PAUSE TestAccKafkaConnectCustomPlugin_objectVersion
=== CONT TestAccKafkaConnectCustomPluginDataSource_basic
=== CONT TestAccKafkaConnectCustomPlugin_contentType
=== CONT TestAccKafkaConnectCustomPlugin_description
=== CONT TestAccKafkaConnectCustomPlugin_basic
=== CONT TestAccKafkaConnectCustomPlugin_objectVersion
=== CONT TestAccKafkaConnectCustomPluginDataSource_basic
acctest.go:608: skipping tests; partition aws-us-gov does not support kafkaconnect service
=== CONT TestAccKafkaConnectCustomPlugin_contentType
acctest.go:608: skipping tests; partition aws-us-gov does not support kafkaconnect service
--- SKIP: TestAccKafkaConnectCustomPluginDataSource_basic (1.48s)
=== CONT TestAccKafkaConnectCustomPlugin_description
acctest.go:608: skipping tests; partition aws-us-gov does not support kafkaconnect service
--- SKIP: TestAccKafkaConnectCustomPlugin_contentType (1.48s)
--- SKIP: TestAccKafkaConnectCustomPlugin_description (1.48s)
=== CONT TestAccKafkaConnectCustomPlugin_objectVersion
acctest.go:608: skipping tests; partition aws-us-gov does not support kafkaconnect service
--- SKIP: TestAccKafkaConnectCustomPlugin_objectVersion (1.48s)
=== CONT TestAccKafkaConnectCustomPlugin_basic
acctest.go:608: skipping tests; partition aws-us-gov does not support kafkaconnect service
--- SKIP: TestAccKafkaConnectCustomPlugin_basic (1.48s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/kafkaconnect 7.157s
@rtim75 Thanks for the contribution 🎉 👏. |
This functionality has been released in v3.71.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 pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Relates #20942
Output from acceptance testing: