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

Fix letter case on aws_dms_endpoint.mongodb_settings #8008

Merged
merged 1 commit into from
May 29, 2019

Conversation

vitorbaptista
Copy link
Contributor

AWS DMS automatically lowercases the MongoDB settings values. When Terraform runs, it'll change the settings to uppercase, only to have AWS set them to lowercase. Then, next time, Terraform will notice this change, and try again. This means that, if we set the values as uppercase, the state will never converge. This change fixes that.

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" comments, they generate extra noise for pull request followers and do not help prioritize the request

Fixes #0000

Changes proposed in this pull request:

  • Change 1
  • Change 2

Output from acceptance testing:

$ make testacc TESTARGS='-run=TestAccXXX'

...

AWS DMS automatically lowercases the MongoDB settings values. When Terraform runs, it'll change the settings to uppercase, only to have AWS set them to lowercase. Then, next time, Terraform will notice this change, and try again. This means that, if we set the values as uppercase, the state will never converge. This change fixes that.
@ghost ghost added size/XS Managed by automation to categorize the size of a PR. service/databasemigrationservice labels Mar 19, 2019
@bflad
Copy link
Member

bflad commented May 29, 2019

Merging this with #8795 which includes testing and documentation changes. 👍

@bflad bflad merged commit f8c592a into hashicorp:master May 29, 2019
bflad added a commit that referenced this pull request May 29, 2019
@bflad
Copy link
Member

bflad commented May 31, 2019

This has been released in version 2.13.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

@ghost
Copy link

ghost commented Mar 29, 2020

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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked and limited conversation to collaborators Mar 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
size/XS Managed by automation to categorize the size of a PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants