Skip to content
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

aws_dms_s3_endpoint Resource Adds add_trailing_padding_character = false #32698

Closed
grifonas opened this issue Jul 26, 2023 · 4 comments · Fixed by #34048
Closed

aws_dms_s3_endpoint Resource Adds add_trailing_padding_character = false #32698

grifonas opened this issue Jul 26, 2023 · 4 comments · Fixed by #34048
Labels
bug Addresses a defect in current functionality. service/dms Issues and PRs that pertain to the dms service.
Milestone

Comments

@grifonas
Copy link

grifonas commented Jul 26, 2023

Description

Hi,
It appears that the aws_dms_s3_endpoint resource adds add_trailing_padding_character=false to the JSON settings of the endpoint. However this option is not supported in replication instances below the version 3.4.7. This results in DMS errors.
It appears that it's not enough to set add_trailing_padding_character to false. The option add_trailing_padding_character should not be present at all.
Is there a way to work around this?

References

No response

Would you like to implement a fix?

None

@github-actions
Copy link

Community Note

Voting for Prioritization

  • Please vote on this issue by adding a 👍 reaction to the original post to help the community and maintainers prioritize this request.
  • Please see our prioritization guide for information on how we prioritize.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.

Volunteering to Work on This Issue

  • If you are interested in working on this issue, please leave a comment.
  • If this would be your first contribution, please review the contribution guide.

@github-actions github-actions bot added the needs-triage Waiting for first response or review from a maintainer. label Jul 26, 2023
@justinretzolk justinretzolk added bug Addresses a defect in current functionality. service/dms Issues and PRs that pertain to the dms service. and removed needs-triage Waiting for first response or review from a maintainer. labels Jul 26, 2023
@sodle
Copy link
Contributor

sodle commented Oct 21, 2023

I believe this can be fixed by changing the Get call here to a GetOk. I'm verifying that assumption as we speak.

This will prevent Terraform from inserting a false value for this option when it is not specified for a resource. It will instead rely on AWS's default behavior, which also defaults to false. Therefore, this should have no side effects apart from fixing the error.

I'll note that the underlying DMS limitation is fixed in engine version 3.4.7. Engine versions 3.4.5 and earlier are already deprecated, and 3.4.6 will be deprecated in January of 2024 [source, requires an AWS login]. After that point, this issue will no longer be reproducible.

@github-actions
Copy link

This functionality has been released in v5.23.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!

Copy link

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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality. service/dms Issues and PRs that pertain to the dms service.
Projects
None yet
3 participants