From f8c592a8bc86b41703495bc54dea281e41ec9197 Mon Sep 17 00:00:00 2001 From: Vitor Baptista Date: Tue, 19 Mar 2019 14:41:11 +0000 Subject: [PATCH] Fix letter case on aws_dms_endpoint.mongodb_settings 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. --- aws/resource_aws_dms_endpoint.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aws/resource_aws_dms_endpoint.go b/aws/resource_aws_dms_endpoint.go index 0a43316fcb1..81835d72a4b 100644 --- a/aws/resource_aws_dms_endpoint.go +++ b/aws/resource_aws_dms_endpoint.go @@ -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,