-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
[Bug]: aws_dms_replication_task is requiring a cdcPath parameter when one has been provided on the aws_dms_s3_endpoint for the task #28277
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
It appears that there is a CDC Path property on the updated aws dms endpoint but the aws_dms_s3_endpoint.cdc_path value is ending up on the aws dms endpoint's EndpointSettings.CdcPath. |
@rossbush Thanks for reporting this! This is odd. I'll take a closer look. I feel like something strange is happening on the AWS side but it's also possible I missed something. |
@YakDriver - Thanks! This seems to have been confirmed by AWS as an issue (see link below). The ?new? DMS task's CDC Path property, (not the one in the Endpoint Setting or the soon to be depreciated Extra Connection Info) cannot be set via the command line; however, if the DMS Endpoint is a Source endpoint and of type S3 bucket, there must be a value in this field. Sadly, we do not have edit permissions to our endpoints above dev. We are stuck :/ |
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 issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Terraform Core Version
1.3.6
AWS Provider Version
4.46.0
Affected Resource(s)
aws_dms_replication_task
Expected Behavior
During the terraform apply the cdcpath should be picked up from the source_endpoint_arn which is a aws_dms_s3_endpoint with cdc_path set.
Actual Behavior
During the terraform apply an invalid parameter error is being returned for all aws_dms_replication_task configured with a s3 source like above.
Relevant Error/Panic Output Snippet
Terraform Configuration Files
#Using the new aws_dms_s3_endpoint resource below in dms, the cdc_path has been specified:
#When creating an aws_dms_replication task, the resource above is used as the source_endpoint_arn:
Steps to Reproduce
Debug Output
No response
Panic Output
No response
Important Factoids
I am not sure if the cdc-path needs to be specified in the aws_dms_replication_task.replication_task_settings. If so, I did not see in any documentation where this value should be set.
References
#13491
#13491
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: