-
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
chore: update Kafka endpoint settings to include all attributes #20904
chore: update Kafka endpoint settings to include all attributes #20904
Conversation
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=TestAccAwsDmsEndpoint_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAwsDmsEndpoint_ -timeout 180m
=== RUN TestAccAwsDmsEndpoint_basic
=== PAUSE TestAccAwsDmsEndpoint_basic
=== RUN TestAccAwsDmsEndpoint_S3
=== PAUSE TestAccAwsDmsEndpoint_S3
=== RUN TestAccAwsDmsEndpoint_S3_ExtraConnectionAttributes
=== PAUSE TestAccAwsDmsEndpoint_S3_ExtraConnectionAttributes
=== RUN TestAccAwsDmsEndpoint_DynamoDb
=== PAUSE TestAccAwsDmsEndpoint_DynamoDb
=== RUN TestAccAwsDmsEndpoint_Elasticsearch
=== PAUSE TestAccAwsDmsEndpoint_Elasticsearch
=== RUN TestAccAwsDmsEndpoint_Elasticsearch_ExtraConnectionAttributes
=== PAUSE TestAccAwsDmsEndpoint_Elasticsearch_ExtraConnectionAttributes
=== RUN TestAccAwsDmsEndpoint_Elasticsearch_ErrorRetryDuration
=== PAUSE TestAccAwsDmsEndpoint_Elasticsearch_ErrorRetryDuration
=== RUN TestAccAwsDmsEndpoint_Elasticsearch_FullLoadErrorPercentage
=== PAUSE TestAccAwsDmsEndpoint_Elasticsearch_FullLoadErrorPercentage
=== RUN TestAccAwsDmsEndpoint_Kafka
=== PAUSE TestAccAwsDmsEndpoint_Kafka
=== RUN TestAccAwsDmsEndpoint_Kinesis
=== PAUSE TestAccAwsDmsEndpoint_Kinesis
=== RUN TestAccAwsDmsEndpoint_MongoDb
=== PAUSE TestAccAwsDmsEndpoint_MongoDb
=== RUN TestAccAwsDmsEndpoint_MongoDb_Update
=== PAUSE TestAccAwsDmsEndpoint_MongoDb_Update
=== RUN TestAccAwsDmsEndpoint_DocDB
=== PAUSE TestAccAwsDmsEndpoint_DocDB
=== RUN TestAccAwsDmsEndpoint_Db2
=== PAUSE TestAccAwsDmsEndpoint_Db2
=== CONT TestAccAwsDmsEndpoint_basic
=== CONT TestAccAwsDmsEndpoint_Kafka
=== CONT TestAccAwsDmsEndpoint_Elasticsearch_FullLoadErrorPercentage
=== CONT TestAccAwsDmsEndpoint_Kinesis
=== CONT TestAccAwsDmsEndpoint_S3
=== CONT TestAccAwsDmsEndpoint_S3_ExtraConnectionAttributes
=== CONT TestAccAwsDmsEndpoint_Elasticsearch_ErrorRetryDuration
=== CONT TestAccAwsDmsEndpoint_Elasticsearch
=== CONT TestAccAwsDmsEndpoint_Db2
=== CONT TestAccAwsDmsEndpoint_DocDB
=== CONT TestAccAwsDmsEndpoint_MongoDb_Update
=== CONT TestAccAwsDmsEndpoint_MongoDb
=== CONT TestAccAwsDmsEndpoint_Elasticsearch_ExtraConnectionAttributes
=== CONT TestAccAwsDmsEndpoint_DynamoDb
--- PASS: TestAccAwsDmsEndpoint_MongoDb (56.06s)
--- PASS: TestAccAwsDmsEndpoint_Elasticsearch_FullLoadErrorPercentage (64.05s)
--- PASS: TestAccAwsDmsEndpoint_Elasticsearch_ExtraConnectionAttributes (64.23s)
--- PASS: TestAccAwsDmsEndpoint_Elasticsearch_ErrorRetryDuration (64.23s)
--- PASS: TestAccAwsDmsEndpoint_Kafka (73.13s)
--- PASS: TestAccAwsDmsEndpoint_DocDB (73.78s)
--- PASS: TestAccAwsDmsEndpoint_basic (73.95s)
--- PASS: TestAccAwsDmsEndpoint_Db2 (74.56s)
--- PASS: TestAccAwsDmsEndpoint_S3_ExtraConnectionAttributes (77.48s)
--- PASS: TestAccAwsDmsEndpoint_Elasticsearch (77.81s)
--- PASS: TestAccAwsDmsEndpoint_S3 (83.34s)
--- PASS: TestAccAwsDmsEndpoint_DynamoDb (83.80s)
--- PASS: TestAccAwsDmsEndpoint_MongoDb_Update (87.16s)
--- PASS: TestAccAwsDmsEndpoint_Kinesis (105.96s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 110.726s
GovCloud
% make testacc TESTARGS='-run=TestAccAwsDmsEndpoint_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAwsDmsEndpoint_ -timeout 180m
=== RUN TestAccAwsDmsEndpoint_basic
=== PAUSE TestAccAwsDmsEndpoint_basic
=== RUN TestAccAwsDmsEndpoint_S3
=== PAUSE TestAccAwsDmsEndpoint_S3
=== RUN TestAccAwsDmsEndpoint_S3_ExtraConnectionAttributes
=== PAUSE TestAccAwsDmsEndpoint_S3_ExtraConnectionAttributes
=== RUN TestAccAwsDmsEndpoint_DynamoDb
=== PAUSE TestAccAwsDmsEndpoint_DynamoDb
=== RUN TestAccAwsDmsEndpoint_Elasticsearch
=== PAUSE TestAccAwsDmsEndpoint_Elasticsearch
=== RUN TestAccAwsDmsEndpoint_Elasticsearch_ExtraConnectionAttributes
=== PAUSE TestAccAwsDmsEndpoint_Elasticsearch_ExtraConnectionAttributes
=== RUN TestAccAwsDmsEndpoint_Elasticsearch_ErrorRetryDuration
=== PAUSE TestAccAwsDmsEndpoint_Elasticsearch_ErrorRetryDuration
=== RUN TestAccAwsDmsEndpoint_Elasticsearch_FullLoadErrorPercentage
=== PAUSE TestAccAwsDmsEndpoint_Elasticsearch_FullLoadErrorPercentage
=== RUN TestAccAwsDmsEndpoint_Kafka
=== PAUSE TestAccAwsDmsEndpoint_Kafka
=== RUN TestAccAwsDmsEndpoint_Kinesis
=== PAUSE TestAccAwsDmsEndpoint_Kinesis
=== RUN TestAccAwsDmsEndpoint_MongoDb
=== PAUSE TestAccAwsDmsEndpoint_MongoDb
=== RUN TestAccAwsDmsEndpoint_MongoDb_Update
=== PAUSE TestAccAwsDmsEndpoint_MongoDb_Update
=== RUN TestAccAwsDmsEndpoint_DocDB
=== PAUSE TestAccAwsDmsEndpoint_DocDB
=== RUN TestAccAwsDmsEndpoint_Db2
=== PAUSE TestAccAwsDmsEndpoint_Db2
=== CONT TestAccAwsDmsEndpoint_basic
=== CONT TestAccAwsDmsEndpoint_DocDB
=== CONT TestAccAwsDmsEndpoint_S3_ExtraConnectionAttributes
=== CONT TestAccAwsDmsEndpoint_Elasticsearch
=== CONT TestAccAwsDmsEndpoint_Elasticsearch_FullLoadErrorPercentage
=== CONT TestAccAwsDmsEndpoint_Elasticsearch_ErrorRetryDuration
=== CONT TestAccAwsDmsEndpoint_Elasticsearch_ExtraConnectionAttributes
=== CONT TestAccAwsDmsEndpoint_Kinesis
=== CONT TestAccAwsDmsEndpoint_MongoDb
=== CONT TestAccAwsDmsEndpoint_Kafka
=== CONT TestAccAwsDmsEndpoint_DynamoDb
=== CONT TestAccAwsDmsEndpoint_S3
=== CONT TestAccAwsDmsEndpoint_Db2
=== CONT TestAccAwsDmsEndpoint_MongoDb_Update
--- PASS: TestAccAwsDmsEndpoint_Elasticsearch_ErrorRetryDuration (160.59s)
--- PASS: TestAccAwsDmsEndpoint_Elasticsearch_ExtraConnectionAttributes (162.16s)
--- PASS: TestAccAwsDmsEndpoint_MongoDb (162.45s)
--- PASS: TestAccAwsDmsEndpoint_Elasticsearch_FullLoadErrorPercentage (162.83s)
--- PASS: TestAccAwsDmsEndpoint_Elasticsearch (163.26s)
--- PASS: TestAccAwsDmsEndpoint_S3_ExtraConnectionAttributes (163.37s)
--- PASS: TestAccAwsDmsEndpoint_basic (170.87s)
--- PASS: TestAccAwsDmsEndpoint_Kafka (171.15s)
--- PASS: TestAccAwsDmsEndpoint_Db2 (171.43s)
--- PASS: TestAccAwsDmsEndpoint_DocDB (171.44s)
--- PASS: TestAccAwsDmsEndpoint_DynamoDb (180.72s)
--- PASS: TestAccAwsDmsEndpoint_S3 (181.96s)
--- PASS: TestAccAwsDmsEndpoint_MongoDb_Update (185.04s)
--- PASS: TestAccAwsDmsEndpoint_Kinesis (203.18s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 207.418s
@bryantbiggs Thanks for the contribution 🎉 👏. The "KMSKeyNotAccessibleFault: Key Id is missing" error was fixed by not sending the various Kafka SSL attributes if they are empty. |
This functionality has been released in v3.62.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! |
@bryantbiggs @ewbankkit #18750 was intended for the Kinesis output source, so just doing a double check if I can now also use this for the Kinesis output. edit: based on this page : https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/dms_endpoint#kinesis_settings |
@kduvekot-wehkamp-nl My mistake 😄. Yes, this applies to the Kafka output source only. |
thank you @ewbankkit ! |
hmm, @ewbankkit I think something in this ☝🏽 changeset introduced a bug - I'm now seeing errors like:
this example worked all the way up to 3.61.0, and now throws this error with 3.62.0 here is where |
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
Closes #20138.
Closes #20083.
Output from acceptance testing:
KMSKeyNotAccessibleFault: Key Id is missing