-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Amazon MSK multiple authentication modes and updates to TLS encryption settings #21005
Amazon MSK multiple authentication modes and updates to TLS encryption settings #21005
Conversation
Pull request #21306 has significantly refactored the AWS Provider codebase. As a result, most PRs opened prior to the refactor now have merge conflicts that must be resolved before proceeding. Specifically, PR #21306 relocated the code for all AWS resources and data sources from a single We recognize that many pull requests have been open for some time without yet being addressed by our maintainers. Therefore, we want to make it clear that resolving these conflicts in no way affects the prioritization of a particular pull request. Once a pull request has been prioritized for review, the necessary changes will be made by a maintainer -- either directly or in collaboration with the pull request author. For a more complete description of this refactor, including examples of how old filepaths and function names correspond to their new counterparts: please refer to issue #20000. For a quick guide on how to amend your pull request to resolve the merge conflicts resulting from this refactor and bring it in line with our new code patterns: please refer to our Service Package Refactor Pull Request Guide. |
…bling SASL all authentication methods.
…on_in_transit.client_broker'.
…LS_certificateAuthorityARNs' to test multiple authentication methods and in-place security updates.
…sl_scram' and 'bootstrap_brokers_public_tls' attributes.
…cluster is not currently supported.'.
…on your cluster is not currently supported.'.
…nitiallyNoAuthentication'. Acceptance test output: % make testacc TESTS=TestAccKafkaCluster_ClientAuthenticationTLS_initiallyNoAuthentication PKG=kafka ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/kafka/... -v -count 1 -parallel 20 -run='TestAccKafkaCluster_ClientAuthenticationTLS_initiallyNoAuthentication' -timeout 180m === RUN TestAccKafkaCluster_ClientAuthenticationTLS_initiallyNoAuthentication === PAUSE TestAccKafkaCluster_ClientAuthenticationTLS_initiallyNoAuthentication === CONT TestAccKafkaCluster_ClientAuthenticationTLS_initiallyNoAuthentication --- PASS: TestAccKafkaCluster_ClientAuthenticationTLS_initiallyNoAuthentication (3706.36s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/kafka 3710.043s
% make testacc TESTS=TestAccKafkaCluster_basic PKG=kafka ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/kafka/... -v -count 1 -parallel 20 -run='TestAccKafkaCluster_basic' -timeout 180m === RUN TestAccKafkaCluster_basic === PAUSE TestAccKafkaCluster_basic === CONT TestAccKafkaCluster_basic --- PASS: TestAccKafkaCluster_basic (1914.25s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/kafka 1918.255s
…cAccessSaslIam'. Acceptance test output: % make testacc TESTS=TestAccKafkaCluster_BrokerNodeGroupInfo_publicAccessSaslIam PKG=kafka ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/kafka/... -v -count 1 -parallel 20 -run='TestAccKafkaCluster_BrokerNodeGroupInfo_publicAccessSaslIam' -timeout 180m === RUN TestAccKafkaCluster_BrokerNodeGroupInfo_publicAccessSaslIam === PAUSE TestAccKafkaCluster_BrokerNodeGroupInfo_publicAccessSaslIam === CONT TestAccKafkaCluster_BrokerNodeGroupInfo_publicAccessSaslIam --- PASS: TestAccKafkaCluster_BrokerNodeGroupInfo_publicAccessSaslIam (6018.70s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/kafka 6022.807s
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 🚀.
% ACCTEST_TIMEOUT=720m make testacc TESTS=TestAccKafkaCluster PKG=kafka ACCTEST_PARALLELISM=3
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/kafka/... -v -count 1 -parallel 3 -run='TestAccKafkaCluster' -timeout 720m
=== RUN TestAccKafkaClusterDataSource_basic
=== PAUSE TestAccKafkaClusterDataSource_basic
=== RUN TestAccKafkaCluster_basic
=== PAUSE TestAccKafkaCluster_basic
=== RUN TestAccKafkaCluster_BrokerNodeGroupInfo_ebsVolumeSize
=== PAUSE TestAccKafkaCluster_BrokerNodeGroupInfo_ebsVolumeSize
=== RUN TestAccKafkaCluster_BrokerNodeGroupInfo_instanceType
=== PAUSE TestAccKafkaCluster_BrokerNodeGroupInfo_instanceType
=== RUN TestAccKafkaCluster_BrokerNodeGroupInfo_publicAccessSaslIam
=== PAUSE TestAccKafkaCluster_BrokerNodeGroupInfo_publicAccessSaslIam
=== RUN TestAccKafkaCluster_ClientAuthenticationSASL_scram
=== PAUSE TestAccKafkaCluster_ClientAuthenticationSASL_scram
=== RUN TestAccKafkaCluster_ClientAuthenticationSASL_iam
=== PAUSE TestAccKafkaCluster_ClientAuthenticationSASL_iam
=== RUN TestAccKafkaCluster_ClientAuthenticationTLS_certificateAuthorityARNs
=== PAUSE TestAccKafkaCluster_ClientAuthenticationTLS_certificateAuthorityARNs
=== RUN TestAccKafkaCluster_ClientAuthenticationTLS_initiallyNoAuthentication
=== PAUSE TestAccKafkaCluster_ClientAuthenticationTLS_initiallyNoAuthentication
=== RUN TestAccKafkaCluster_Info_revision
=== PAUSE TestAccKafkaCluster_Info_revision
=== RUN TestAccKafkaCluster_EncryptionInfo_encryptionAtRestKMSKeyARN
=== PAUSE TestAccKafkaCluster_EncryptionInfo_encryptionAtRestKMSKeyARN
=== RUN TestAccKafkaCluster_EncryptionInfoEncryptionInTransit_clientBroker
=== PAUSE TestAccKafkaCluster_EncryptionInfoEncryptionInTransit_clientBroker
=== RUN TestAccKafkaCluster_EncryptionInfoEncryptionInTransit_inCluster
=== PAUSE TestAccKafkaCluster_EncryptionInfoEncryptionInTransit_inCluster
=== RUN TestAccKafkaCluster_enhancedMonitoring
=== PAUSE TestAccKafkaCluster_enhancedMonitoring
=== RUN TestAccKafkaCluster_numberOfBrokerNodes
=== PAUSE TestAccKafkaCluster_numberOfBrokerNodes
=== RUN TestAccKafkaCluster_openMonitoring
=== PAUSE TestAccKafkaCluster_openMonitoring
=== RUN TestAccKafkaCluster_loggingInfo
=== PAUSE TestAccKafkaCluster_loggingInfo
=== RUN TestAccKafkaCluster_kafkaVersionUpgrade
=== PAUSE TestAccKafkaCluster_kafkaVersionUpgrade
=== RUN TestAccKafkaCluster_kafkaVersionDowngrade
=== PAUSE TestAccKafkaCluster_kafkaVersionDowngrade
=== RUN TestAccKafkaCluster_kafkaVersionUpgradeWithInfo
=== PAUSE TestAccKafkaCluster_kafkaVersionUpgradeWithInfo
=== RUN TestAccKafkaCluster_tags
=== PAUSE TestAccKafkaCluster_tags
=== CONT TestAccKafkaClusterDataSource_basic
=== CONT TestAccKafkaCluster_EncryptionInfoEncryptionInTransit_clientBroker
=== CONT TestAccKafkaCluster_ClientAuthenticationSASL_iam
--- PASS: TestAccKafkaCluster_EncryptionInfoEncryptionInTransit_clientBroker (1941.08s)
=== CONT TestAccKafkaCluster_EncryptionInfo_encryptionAtRestKMSKeyARN
--- PASS: TestAccKafkaClusterDataSource_basic (1949.57s)
=== CONT TestAccKafkaCluster_Info_revision
--- PASS: TestAccKafkaCluster_EncryptionInfo_encryptionAtRestKMSKeyARN (1955.82s)
=== CONT TestAccKafkaCluster_ClientAuthenticationTLS_initiallyNoAuthentication
--- PASS: TestAccKafkaCluster_ClientAuthenticationSASL_iam (3909.38s)
=== CONT TestAccKafkaCluster_ClientAuthenticationTLS_certificateAuthorityARNs
--- PASS: TestAccKafkaCluster_Info_revision (2688.38s)
=== CONT TestAccKafkaCluster_loggingInfo
--- PASS: TestAccKafkaCluster_ClientAuthenticationTLS_certificateAuthorityARNs (2288.52s)
=== CONT TestAccKafkaCluster_tags
--- PASS: TestAccKafkaCluster_loggingInfo (2266.44s)
=== CONT TestAccKafkaCluster_kafkaVersionUpgradeWithInfo
--- PASS: TestAccKafkaCluster_ClientAuthenticationTLS_initiallyNoAuthentication (4265.93s)
=== CONT TestAccKafkaCluster_kafkaVersionDowngrade
--- PASS: TestAccKafkaCluster_tags (2148.92s)
=== CONT TestAccKafkaCluster_kafkaVersionUpgrade
--- PASS: TestAccKafkaCluster_kafkaVersionDowngrade (4154.47s)
=== CONT TestAccKafkaCluster_BrokerNodeGroupInfo_instanceType
--- PASS: TestAccKafkaCluster_kafkaVersionUpgradeWithInfo (5748.13s)
=== CONT TestAccKafkaCluster_ClientAuthenticationSASL_scram
--- PASS: TestAccKafkaCluster_kafkaVersionUpgrade (5813.05s)
=== CONT TestAccKafkaCluster_BrokerNodeGroupInfo_publicAccessSaslIam
--- PASS: TestAccKafkaCluster_ClientAuthenticationSASL_scram (3384.64s)
=== CONT TestAccKafkaCluster_BrokerNodeGroupInfo_ebsVolumeSize
--- PASS: TestAccKafkaCluster_BrokerNodeGroupInfo_ebsVolumeSize (2466.04s)
=== CONT TestAccKafkaCluster_numberOfBrokerNodes
--- PASS: TestAccKafkaCluster_BrokerNodeGroupInfo_instanceType (6307.75s)
=== CONT TestAccKafkaCluster_openMonitoring
--- PASS: TestAccKafkaCluster_BrokerNodeGroupInfo_publicAccessSaslIam (6018.91s)
=== CONT TestAccKafkaCluster_basic
--- PASS: TestAccKafkaCluster_openMonitoring (1677.99s)
=== CONT TestAccKafkaCluster_enhancedMonitoring
--- PASS: TestAccKafkaCluster_numberOfBrokerNodes (2644.50s)
=== CONT TestAccKafkaCluster_EncryptionInfoEncryptionInTransit_inCluster
--- PASS: TestAccKafkaCluster_basic (1729.06s)
--- PASS: TestAccKafkaCluster_enhancedMonitoring (1727.91s)
--- PASS: TestAccKafkaCluster_EncryptionInfoEncryptionInTransit_inCluster (2028.77s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/kafka 22884.818s
@james-bjss @nuttmeister Thanks for the contribution 🎉 👏. |
This functionality has been released in v4.13.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
Closes #20956.
Closes #22839.
Closes #23727.
Closes #21859.
Output from acceptance testing: