Open LiterallyDad opened 9 months ago
Voting for Prioritization
Volunteering to Work on This Issue
Hey @LiterallyDad 👋 Thank you for taking the time to raise this! Are you able to supply debug logs (redacted as needed)? There's often helpful information in there for whoever picks this issue up.
This looks like it's because the expandPostgreSQLSettings call is only used during create and only a subset of settings are checked for updates. It it may be that those settings are currently only managed on create and cannot be updated after the fact even though you can make those changes via the UI on an established endpoint.
https://github.com/hashicorp/terraform-provider-aws/blob/787e6038218fc65927482f01655a507a2eb2198c/internal/service/dms/endpoint.go#L828-L830 https://github.com/hashicorp/terraform-provider-aws/blob/787e6038218fc65927482f01655a507a2eb2198c/internal/service/dms/endpoint.go#L1129-L1131
We are also running into this issue in our setup where we use DMS and Postgres as source.
Any update on this issue? Is there a workaround? Will it help when defining postgres settings via extra_connection_attributes
in aws_dms_endpoint
?
Terraform Core Version
1.5.7
AWS Provider Version
5.36.0
Affected Resource(s)
aws_dms_endpoint
Expected Behavior
Actual Behavior
apply succeeds, resource is not updated, prevents TF from auto stopping/starting serverless replications
Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Steps to Reproduce
attempt to apply aws_dms_endpoint with postgres_settings config block
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
No