Skip to content
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

dms/endpoint: Fix bug where KMS key ignored #23444

Merged
merged 6 commits into from
Mar 2, 2022
Merged

Conversation

YakDriver
Copy link
Member

@YakDriver YakDriver commented Mar 1, 2022

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Closes #23143
Relates #19040

Output from acceptance testing:

% make testacc TESTS=TestAccDMSEndpoint PKG=dms 
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/dms/... -v -count 1 -parallel 20 -run='TestAccDMSEndpoint'  -timeout 180m
--- PASS: TestAccDMSEndpoint_MongoDB_basic (35.44s)
--- PASS: TestAccDMSEndpoint_Oracle_secretID (36.88s)
--- PASS: TestAccDMSEndpoint_PostgreSQL_secretID (36.97s)
--- PASS: TestAccDMSEndpoint_PostgreSQL_kmsKey (39.08s)
--- PASS: TestAccDMSEndpoint_PostgreSQL_basic (39.87s)
--- PASS: TestAccDMSEndpoint_Oracle_basic (40.46s)
--- PASS: TestAccDMSEndpoint_docDB (44.71s)
--- PASS: TestAccDMSEndpoint_db2 (44.90s)
--- PASS: TestAccDMSEndpoint_Oracle_update (45.01s)
--- PASS: TestAccDMSEndpoint_OpenSearch_fullLoadErrorPercentage (46.87s)
--- PASS: TestAccDMSEndpoint_OpenSearch_errorRetryDuration (46.98s)
--- PASS: TestAccDMSEndpoint_OpenSearch_basic (46.98s)
--- PASS: TestAccDMSEndpoint_S3_extraConnectionAttributes (46.98s)
--- PASS: TestAccDMSEndpoint_OpenSearch_extraConnectionAttributes (47.24s)
--- PASS: TestAccDMSEndpoint_kafka (57.16s)
--- PASS: TestAccDMSEndpoint_basic (57.18s)
--- PASS: TestAccDMSEndpoint_PostgreSQL_update (57.51s)
--- PASS: TestAccDMSEndpoint_dynamoDB (59.68s)
--- PASS: TestAccDMSEndpoint_MongoDB_update (59.91s)
--- PASS: TestAccDMSEndpoint_kinesis (77.51s)
--- PASS: TestAccDMSEndpoint_S3_basic (54.48s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/dms	91.495s

@github-actions github-actions bot added service/databasemigrationservice size/XS Managed by automation to categorize the size of a PR. labels Mar 1, 2022
@github-actions github-actions bot added tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. size/S Managed by automation to categorize the size of a PR. and removed size/XS Managed by automation to categorize the size of a PR. labels Mar 1, 2022
@github-actions github-actions bot added size/M Managed by automation to categorize the size of a PR. and removed size/S Managed by automation to categorize the size of a PR. labels Mar 1, 2022
@YakDriver YakDriver added this to the v4.4.0 milestone Mar 1, 2022
@github-actions github-actions bot added size/L Managed by automation to categorize the size of a PR. and removed size/M Managed by automation to categorize the size of a PR. labels Mar 1, 2022
Copy link
Contributor

@ewbankkit ewbankkit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀.

% make testacc TESTS=TestAccDMSEndpoint_ PKG=dms ACCTEST_PARALLELISM=5
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/dms/... -v -count 1 -parallel 5 -run='TestAccDMSEndpoint_'  -timeout 180m
=== RUN   TestAccDMSEndpoint_basic
=== PAUSE TestAccDMSEndpoint_basic
=== RUN   TestAccDMSEndpoint_S3_basic
=== PAUSE TestAccDMSEndpoint_S3_basic
=== RUN   TestAccDMSEndpoint_S3_extraConnectionAttributes
=== PAUSE TestAccDMSEndpoint_S3_extraConnectionAttributes
=== RUN   TestAccDMSEndpoint_dynamoDB
=== PAUSE TestAccDMSEndpoint_dynamoDB
=== RUN   TestAccDMSEndpoint_OpenSearch_basic
=== PAUSE TestAccDMSEndpoint_OpenSearch_basic
=== RUN   TestAccDMSEndpoint_OpenSearch_extraConnectionAttributes
=== PAUSE TestAccDMSEndpoint_OpenSearch_extraConnectionAttributes
=== RUN   TestAccDMSEndpoint_OpenSearch_errorRetryDuration
=== PAUSE TestAccDMSEndpoint_OpenSearch_errorRetryDuration
=== RUN   TestAccDMSEndpoint_OpenSearch_fullLoadErrorPercentage
=== PAUSE TestAccDMSEndpoint_OpenSearch_fullLoadErrorPercentage
=== RUN   TestAccDMSEndpoint_kafka
=== PAUSE TestAccDMSEndpoint_kafka
=== RUN   TestAccDMSEndpoint_kinesis
=== PAUSE TestAccDMSEndpoint_kinesis
=== RUN   TestAccDMSEndpoint_MongoDB_basic
=== PAUSE TestAccDMSEndpoint_MongoDB_basic
=== RUN   TestAccDMSEndpoint_MongoDB_update
=== PAUSE TestAccDMSEndpoint_MongoDB_update
=== RUN   TestAccDMSEndpoint_Oracle_basic
=== PAUSE TestAccDMSEndpoint_Oracle_basic
=== RUN   TestAccDMSEndpoint_Oracle_secretID
=== PAUSE TestAccDMSEndpoint_Oracle_secretID
=== RUN   TestAccDMSEndpoint_Oracle_update
=== PAUSE TestAccDMSEndpoint_Oracle_update
=== RUN   TestAccDMSEndpoint_PostgreSQL_basic
=== PAUSE TestAccDMSEndpoint_PostgreSQL_basic
=== RUN   TestAccDMSEndpoint_PostgreSQL_secretID
=== PAUSE TestAccDMSEndpoint_PostgreSQL_secretID
=== RUN   TestAccDMSEndpoint_PostgreSQL_update
=== PAUSE TestAccDMSEndpoint_PostgreSQL_update
=== RUN   TestAccDMSEndpoint_PostgreSQL_kmsKey
=== PAUSE TestAccDMSEndpoint_PostgreSQL_kmsKey
=== RUN   TestAccDMSEndpoint_docDB
=== PAUSE TestAccDMSEndpoint_docDB
=== RUN   TestAccDMSEndpoint_db2
=== PAUSE TestAccDMSEndpoint_db2
=== CONT  TestAccDMSEndpoint_basic
=== CONT  TestAccDMSEndpoint_db2
=== CONT  TestAccDMSEndpoint_docDB
=== CONT  TestAccDMSEndpoint_kinesis
=== CONT  TestAccDMSEndpoint_PostgreSQL_kmsKey
--- PASS: TestAccDMSEndpoint_PostgreSQL_kmsKey (102.32s)
=== CONT  TestAccDMSEndpoint_Oracle_update
--- PASS: TestAccDMSEndpoint_docDB (125.59s)
=== CONT  TestAccDMSEndpoint_PostgreSQL_update
--- PASS: TestAccDMSEndpoint_db2 (138.86s)
=== CONT  TestAccDMSEndpoint_PostgreSQL_secretID
--- PASS: TestAccDMSEndpoint_basic (182.56s)
=== CONT  TestAccDMSEndpoint_OpenSearch_extraConnectionAttributes
--- PASS: TestAccDMSEndpoint_PostgreSQL_secretID (68.82s)
=== CONT  TestAccDMSEndpoint_PostgreSQL_basic
--- PASS: TestAccDMSEndpoint_PostgreSQL_update (82.78s)
=== CONT  TestAccDMSEndpoint_Oracle_basic
--- PASS: TestAccDMSEndpoint_Oracle_update (113.96s)
=== CONT  TestAccDMSEndpoint_Oracle_secretID
--- PASS: TestAccDMSEndpoint_kinesis (218.01s)
=== CONT  TestAccDMSEndpoint_OpenSearch_fullLoadErrorPercentage
--- PASS: TestAccDMSEndpoint_Oracle_basic (33.50s)
=== CONT  TestAccDMSEndpoint_kafka
--- PASS: TestAccDMSEndpoint_PostgreSQL_basic (35.90s)
=== CONT  TestAccDMSEndpoint_MongoDB_update
--- PASS: TestAccDMSEndpoint_Oracle_secretID (49.79s)
=== CONT  TestAccDMSEndpoint_OpenSearch_errorRetryDuration
--- PASS: TestAccDMSEndpoint_OpenSearch_fullLoadErrorPercentage (74.94s)
=== CONT  TestAccDMSEndpoint_MongoDB_basic
--- PASS: TestAccDMSEndpoint_kafka (51.76s)
=== CONT  TestAccDMSEndpoint_S3_extraConnectionAttributes
--- PASS: TestAccDMSEndpoint_OpenSearch_extraConnectionAttributes (115.70s)
=== CONT  TestAccDMSEndpoint_OpenSearch_basic
--- PASS: TestAccDMSEndpoint_MongoDB_update (69.63s)
=== CONT  TestAccDMSEndpoint_S3_basic
--- PASS: TestAccDMSEndpoint_OpenSearch_errorRetryDuration (70.78s)
=== CONT  TestAccDMSEndpoint_dynamoDB
--- PASS: TestAccDMSEndpoint_OpenSearch_basic (58.57s)
--- PASS: TestAccDMSEndpoint_MongoDB_basic (72.03s)
--- PASS: TestAccDMSEndpoint_S3_extraConnectionAttributes (96.10s)
--- PASS: TestAccDMSEndpoint_S3_basic (131.88s)
--- PASS: TestAccDMSEndpoint_dynamoDB (151.90s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/dms	492.372s

@YakDriver YakDriver merged commit 3cc4c9b into main Mar 2, 2022
@YakDriver YakDriver deleted the b-dms-endpoint-ignored branch March 2, 2022 16:08
github-actions bot pushed a commit that referenced this pull request Mar 2, 2022
@github-actions
Copy link

github-actions bot commented Mar 4, 2022

This functionality has been released in v4.4.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!

@github-actions
Copy link

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.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
size/L Managed by automation to categorize the size of a PR. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

aws_dms_endpoint postgres source kms_key_arn is ignored
2 participants