We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bc4f6e commit 7549366Copy full SHA for 7549366
modules/mongodb/output.tf
@@ -1,5 +1,5 @@
1
output "mongodb_url" {
2
- value = "mongodb://${aws_route53_record.mongod_record.name}:${var.mongod_port}"
+ value = "mongodb://${var.mongodb_username}:${var.mongodb_password}@${aws_route53_record.mongod_record.name}:${var.mongod_port}/${var.mongodb_database}"
3
}
4
5
output "mongod_instance_ids" {
0 commit comments