Skip to content

Commit

Permalink
Fix letter case on aws_dms_endpoint.mongodb_settings
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
vitorbaptista authored Mar 19, 2019
1 parent dd27707 commit f8c592a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions aws/resource_aws_dms_endpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,17 +138,17 @@ func resourceAwsDmsEndpoint() *schema.Resource {
"auth_type": {
Type: schema.TypeString,
Optional: true,
Default: "PASSWORD",
Default: "password",
},
"auth_mechanism": {
Type: schema.TypeString,
Optional: true,
Default: "DEFAULT",
Default: "default",
},
"nesting_level": {
Type: schema.TypeString,
Optional: true,
Default: "NONE",
Default: "none",
},
"extract_doc_id": {
Type: schema.TypeString,
Expand Down

0 comments on commit f8c592a

Please sign in to comment.