-
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
Database Migration Service provider 'resource_aws_dms_endpoint.go' breaks/drops extra-connection-attributes due to conditional logic error #20290
Comments
additionally: the setting I need to specify, which is not persisted after endpoint settings are updated, is not handled for in this or else I would use that and the problem would be solved (at least for my use case; there are a ton of other settings that this provider isn't handling for (and I can see why)) |
Hi @jonassteinberg1 , thank you for raising this issue. Do you mind sharing what you are setting |
I'm having the same problem. I'm trying to set the extra connection attribute: "addColumnName=true" for the s3 engine. |
@anGie44 Apologies for the delayed response. The problem setting is
I've listed my entire extra-connection-settings file below as you've requested:
|
Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 30 days it will automatically be closed. Maintainers can also remove the stale label. If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. 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. |
Community Note
Terraform CLI and Terraform AWS Provider Version
Terraform v0.13.7
hashicorp/aws v2.70.0
Affected Resource(s)
Expected Behavior
extra-connection-attributes settings are persisted after an endpoint change is made.
Actual Behavior
extra-connection-attributes settings are dropped and AWS defaults are used.
Important Factoids
If you examine the following the following line in
resource_aws_dms_endpoint.go
you will notice that the logic is as follows:extra-connection-attributes
AWS sdk returns the default settings. So in the case where someone is setting thedataFormat=parquet
parameter: it reverts to AWS's default of 'csv'. Currently: AWS says not to useextra-connection-attributes
. But: for setting the dataFormat=parquet you have to. The consequence is that if you use this provider all of your storage, e.g. s3, will start being written to in csv.The text was updated successfully, but these errors were encountered: