-
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
dms: New resource aws_dms_s3_endpoint #28130
Conversation
Community NoteVoting for Prioritization
For Submitters
|
This functionality has been released in v4.45.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 tried the new aws_dms_s3_endpoint, and I am still getting the "compressionType...errror (see details below). terraform version = 1.3.6 main.tf = `terraform {
} provider "aws" { region = "us-east-2" } resource "aws_dms_s3_endpoint" "my_endpoint" { Console output:
|
@sbuzan @BrandonF8181 It turns out that the error is region specific. It works fine in |
This should be resolved with #28220 @sbuzan @BrandonF8181. Let us know if not. |
failing also on us-east-1 |
@YakDriver I tested 4.45.0 in us-west-2 and confirmed that the aws_dms_s3_endpoint deploys. However, the aws_dms_replication_task cannot read the new endpoint type as a valid source. Cdc tasks fail when validating the endpoint parameters. It is looking for "Parameter cdcPath." I believe that it is checking the extra connection attributes which do not exist on the new endpoint. resource "aws_dms_s3_endpoint" "my_endpoint" {
console output with task added:
|
@YakDriver , I just tested 4.46.0. I get the same error above when attaching a "cdc" task to the endpoint. The the task appears to be looking for cdcPath in the ExtraConnectionAttributes, which we no longer populate. (I duplicated this behavior with a CloudFormation deployment). Condition: Deploy the following: console output: aws_dms_replication_task.reader_cdc_replication_task: Creating... |
I also noticed that documentation for the attribute |
for |
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 addresses at least 3 challenges currently swirling around DMS endpoints.
aws_dms_endpoint
resource is not well suited to handling the many endpoint types, and their unique attributes, without the use of extra connection attributes. The resource is stretched thin (read it's a mess) already with attempts to handle so many endpoints and all the variious edge cases associated with each.compression_type
. You can still usecompression_type
but not through extra connection attributes.data_partition_delimiter
in a request to create asource
endpoint did not cause problems. Now, it causes an error.Relations
Closes #27852
Closes #27980
Relates #23507
References
Output from Acceptance Testing