You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
aws dms test-connection --replication-instance-arn <replication_instance_arn> --endpoint-arn <endpoint_arn> tests the source database connection correctly. Passes if the connection info are correct.
Actual Behavior
aws dms test-connection --replication-instance-arn <replication_instance_arn> --endpoint-arn <endpoint_arn> fails with the following error message
There was a problem with the request: DatabaseName is required for MongoDB
even though DatabaseName is correctly specified under MongoDbSettings. Checked against the output of aws dms describe-endpoints | jq '.Endpoints[] | select(.EndpointIdentifier=="my-endpoint")'
(Note: The MongoDbSettings.DatabaseName field is present but DatabaseName is missing at the root level above.)
Important Factoids
Looks like DatabaseName needs to be present at the root level as well. I am not certain if that's the case with the rest of the connection info; Username, Password, ServerName and Port.
The text was updated successfully, but these errors were encountered:
Community Note
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
aws dms test-connection --replication-instance-arn <replication_instance_arn> --endpoint-arn <endpoint_arn>
tests the source database connection correctly. Passes if the connection info are correct.Actual Behavior
aws dms test-connection --replication-instance-arn <replication_instance_arn> --endpoint-arn <endpoint_arn>
fails with the following error messageeven though
DatabaseName
is correctly specified underMongoDbSettings
. Checked against the output ofaws dms describe-endpoints | jq '.Endpoints[] | select(.EndpointIdentifier=="my-endpoint")'
(Note: The
MongoDbSettings.DatabaseName
field is present butDatabaseName
is missing at the root level above.)Important Factoids
Looks like
DatabaseName
needs to be present at the root level as well. I am not certain if that's the case with the rest of the connection info;Username
,Password
,ServerName
andPort
.The text was updated successfully, but these errors were encountered: