-
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
[WIP] Dms task lifecycle #2305
[WIP] Dms task lifecycle #2305
Conversation
really looking forward for this to make it into master! |
Excited for this as well! Stuck on the same bug. Any ideas on timeframe, or what's blocking this? |
@bflad any chance you or another maintainer could review this PR/give feedback on test strategy? This seems like a very useful feature to have. |
We are facing the same issue. We cannot manage DMS tasks on terraform cloud as it's impossible to apply changes to the tasks until the plugin manages the lifecycle. |
Closing as stale due to inactivity. |
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. |
Closes #2236
It adds lifecycle behavior to dms replication tasks. This behavior is switched under the
handle_task_lifecycle
param so it can be turned off if not desirable. When enabled, it will start the task after creating it. When a modification is needed, it will stop the task prior to modifying it, then resume the task. It also stops the task before deletion.First attempt. To test this, it actually requires running the dms task which means setting up real dms endpoints and having real data to migrate.
Currently, the tests are failing due to remote-exec not being available. I need the remote exec on the bastion to populate the db with data to migrate.
One last note, I have had to copy in a hardcoded rsa key as the tls provider is not available when running these tests.
Is anyone able to advise on how I can use remote-exec provisioner with an aws instance inside AWS ACC tests please?