From f32fcc270d6b91c7c108de0daa90c39429f1e1c5 Mon Sep 17 00:00:00 2001 From: Richard Jennings Date: Wed, 29 May 2019 19:51:39 +0100 Subject: [PATCH] #8672 change SCRAM_SHA_1 to scram-sha-1 in response to API behaviour change --- aws/resource_aws_dms_endpoint_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aws/resource_aws_dms_endpoint_test.go b/aws/resource_aws_dms_endpoint_test.go index 347eaf1367c..db381667cbc 100644 --- a/aws/resource_aws_dms_endpoint_test.go +++ b/aws/resource_aws_dms_endpoint_test.go @@ -162,7 +162,7 @@ func TestAccAwsDmsEndpointMongoDb(t *testing.T) { resource.TestCheckResourceAttr(resourceName, "ssl_mode", "require"), resource.TestCheckResourceAttr(resourceName, "extra_connection_attributes", "key=value;"), resource.TestCheckResourceAttr(resourceName, "mongodb_settings.#", "1"), - resource.TestCheckResourceAttr(resourceName, "mongodb_settings.0.auth_mechanism", "SCRAM_SHA_1"), + resource.TestCheckResourceAttr(resourceName, "mongodb_settings.0.auth_mechanism", "scram-sha-1"), resource.TestCheckResourceAttr(resourceName, "mongodb_settings.0.nesting_level", "one"), resource.TestCheckResourceAttr(resourceName, "mongodb_settings.0.extract_doc_id", "true"), resource.TestCheckResourceAttr(resourceName, "mongodb_settings.0.docs_to_investigate", "1001"), @@ -647,7 +647,7 @@ resource "aws_dms_endpoint" "dms_endpoint" { } mongodb_settings { - auth_mechanism = "SCRAM_SHA_1" + auth_mechanism = "scram-sha-1" nesting_level = "one" extract_doc_id = "true" docs_to_investigate = "1001"