-
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
b/fix_dms_task_update_bug_19938: Add required fields to update input #28047
b/fix_dms_task_update_bug_19938: Add required fields to update input #28047
Conversation
Community NoteVoting for Prioritization
For Submitters
|
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.
Welcome @Phlair 👋
It looks like this is your first Pull Request submission to the Terraform AWS Provider! If you haven’t already done so please make sure you have checked out our CONTRIBUTOR guide and FAQ to make sure your contribution is adhering to best practice and has all the necessary elements in place for a successful approval.
Also take a look at our FAQ which details how we prioritize Pull Requests for inclusion.
Thanks again, and welcome to the community! 😃
1c1bcd8
to
423cbcd
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 🎉
% make testacc TESTS=TestAccDMSReplicationTask PKG=dms
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/dms/... -v -count 1 -parallel 20 -run='TestAccDMSReplicationTask' -timeout 180m
=== RUN TestAccDMSReplicationTask_basic
=== PAUSE TestAccDMSReplicationTask_basic
=== RUN TestAccDMSReplicationTask_update
=== PAUSE TestAccDMSReplicationTask_update
=== RUN TestAccDMSReplicationTask_cdcStartPosition
=== PAUSE TestAccDMSReplicationTask_cdcStartPosition
=== RUN TestAccDMSReplicationTask_startReplicationTask
=== PAUSE TestAccDMSReplicationTask_startReplicationTask
=== RUN TestAccDMSReplicationTask_s3ToRDS
=== PAUSE TestAccDMSReplicationTask_s3ToRDS
=== RUN TestAccDMSReplicationTask_disappears
=== PAUSE TestAccDMSReplicationTask_disappears
=== CONT TestAccDMSReplicationTask_basic
=== CONT TestAccDMSReplicationTask_startReplicationTask
=== CONT TestAccDMSReplicationTask_disappears
=== CONT TestAccDMSReplicationTask_s3ToRDS
=== CONT TestAccDMSReplicationTask_update
=== CONT TestAccDMSReplicationTask_cdcStartPosition
--- PASS: TestAccDMSReplicationTask_disappears (888.76s)
--- PASS: TestAccDMSReplicationTask_cdcStartPosition (910.55s)
--- PASS: TestAccDMSReplicationTask_basic (949.78s)
--- PASS: TestAccDMSReplicationTask_s3ToRDS (1122.22s)
--- PASS: TestAccDMSReplicationTask_update (1266.09s)
--- PASS: TestAccDMSReplicationTask_startReplicationTask (1652.52s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/dms 1654.180s
This functionality has been released in v4.50.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. |
Description
This PR intends to fix the bug described here by including
MigrationType
andTableMappings
on the update call regardless of whether they have been changed.That issue is well written and is great for context.
Relations
Closes #19938
References
Readme in this repo for dms - note: the altered fields are listed as required.
AWS dms api
Output from Acceptance Testing
I couldn't acceptance test this, hopefully you can run this on your side. I would be surprised if this change caused failures but you never know...