-
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
Add support for S3 as a DMS target endpoint #4447
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.
Pulling this in -- thanks for @altay13 and @microamp for their work here 🚀
4 tests passed (all tests)
=== RUN TestAccAwsDmsEndpointBasic
--- PASS: TestAccAwsDmsEndpointBasic (13.15s)
=== RUN TestAccAwsDmsEndpointMongoDb
--- PASS: TestAccAwsDmsEndpointMongoDb (13.14s)
=== RUN TestAccAwsDmsEndpointDynamoDb
--- PASS: TestAccAwsDmsEndpointDynamoDb (34.96s)
=== RUN TestAccAwsDmsEndpointS3
--- PASS: TestAccAwsDmsEndpointS3 (35.02s)
This has been released in version 1.18.0 of the AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
This is a port of #1685 by @altay13 with suggested changes from the pull request. (The PR hasn't been active lately and had many conflicts to resolve, so I decided to work on it. Hope I'm not stepping on someone's toes.)
Notes:
bucket_name
andbucket_folder
were removed from the top-level attribute namespace. They are now available unders3_settings
. This is consistent with how the MongoDB endpoint is implemented which follows the convention as seen in the output ofaws dms create-endpoint --generate-cli-skeleton
(see below).service_access_role
attribute shouldn't be reused as there is nowservice_access_role_arn
unders3_settings
. I suggest movingservice_access_role
todynamodb_settings
(currently missing) in the future and remove it from the top-level namespace.dmsEndpointTargetUpdateConfig
anddmsEndpointTargetUpdateConfigUpdate
) were removed from the test suite, to keep each endpoint test completely independent of each other despite some repetitions in the config strings.dms.S3Settings
provides fields for target endpoint only. See https://github.com/microamp/terraform-provider-aws/blob/dms-target-endpoint-s3/vendor/github.com/aws/aws-sdk-go/service/databasemigrationservice/api.go#L10558-L10587 for more details.extra_connection_attributes
, but that has not been tested as part of this work.Thanks, please let me know if I missed anything.