Skip to content

Commit

Permalink
#8672 change SCRAM_SHA_1 to scram-sha-1 in response to API behaviour …
Browse files Browse the repository at this point in the history
…change
  • Loading branch information
richardjennings committed May 29, 2019
1 parent 3e8446c commit f32fcc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aws/resource_aws_dms_endpoint_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit f32fcc2

Please sign in to comment.