File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ output "mongodb_credential" {
1010 description = " MongoDB credentials used for accessing the MongoDB database."
1111 value = var. mongodb_config . store_password_to_secret_manager ? null : {
1212 root_user = var.mongodb_custom_credentials_enabled ? var.mongodb_custom_credentials_config.root_user : " root" ,
13- root_password = var.mongodb_custom_credentials_enabled ? var.mongodb_custom_credentials_config.root_password : nonsensitive (random_password . mongodb_root_password [ 0 ] . result ) ,
13+ root_password = var.mongodb_custom_credentials_enabled ? var.mongodb_custom_credentials_config.root_password : var.root_password ,
1414 metric_exporter_user = var.mongodb_custom_credentials_enabled ? var.mongodb_custom_credentials_config.metric_exporter_user : " mongodb_exporter" ,
15- metric_exporter_password = var.mongodb_custom_credentials_enabled ? var.mongodb_custom_credentials_config.metric_exporter_password : nonsensitive (random_password . mongodb_exporter_password [ 0 ] . result )
15+ metric_exporter_password = var.mongodb_custom_credentials_enabled ? var.mongodb_custom_credentials_config.metric_exporter_password : var.metric_exporter_password
1616 }
1717}
You can’t perform that action at this time.
0 commit comments