-
Notifications
You must be signed in to change notification settings - Fork 2
/
outputs.tf
39 lines (32 loc) · 1.1 KB
/
outputs.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
output "cluster_name" {
value = mongodbatlas_cluster.new_cluster.name
description = "The name for our cluster"
}
output "mongodb_major_version" {
value = mongodbatlas_cluster.new_cluster.mongo_db_version
description = "The major version for Mongo DB"
}
output "srv_address" {
value = mongodbatlas_cluster.new_cluster.srv_address
description = "The address for the cluster"
}
output "mongo_uri" {
value = mongodbatlas_cluster.new_cluster.mongo_uri
description = "The URI to connect on the cluster"
}
output "mongo_uri_with_options" {
value = mongodbatlas_cluster.new_cluster.mongo_uri_with_options
description = "The URI to connect on the cluster with options"
}
output "new_role" {
value = mongodbatlas_custom_db_role.new_custom_db_role.role_name
description = "The Role created to this new cluster"
}
output "db_user" {
value = mongodbatlas_database_user.new_db_user.username
description = "The DB user created to access this new cluster"
}
output "password" {
value = mongodbatlas_database_user.new_db_user.password
description = "The password created to access this new cluster"
}