-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutputs.tf
49 lines (40 loc) · 1.51 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
40
41
42
43
44
45
46
47
48
49
output "db_instance_id" {
value = mongodbatlas_advanced_cluster.this.id
description = "string ||| ID of the Mongo instance"
}
output "db_protocol" {
value = local.db_protocol
description = "string ||| The protocol used to access the Mongo instance"
}
output "db_endpoint" {
value = local.db_endpoint
description = "string ||| The endpoint URL to access the Mongo instance"
}
output "db_port" {
value = local.db_port
description = "string ||| The port used to access the Mongo instance"
}
output "db_security_group_id" {
value = aws_security_group.this.id
description = "string ||| The ID of the security group attached to the Mongo instance"
}
output "db_admin_secret_id" {
value = aws_secretsmanager_secret.password.name
description = "string ||| The name of the secret in AWS Secrets Manager containing the password"
}
output "atlas_public_key_secret_id" {
value = aws_secretsmanager_secret.atlas_public_key.name
description = "The public key used to authenticate to your MongoDB Atlas account"
}
output "atlas_private_key_secret_id" {
value = aws_secretsmanager_secret.atlas_private_key.name
description = "The private key used to authenticate to your MongoDB Atlas account"
}
output "atlas_project_id" {
value = var.atlas_project_id
description = "string ||| The ID of the Atlas project"
}
output "atlas_private_link_id" {
value = mongodbatlas_privatelink_endpoint.this.id
description = "string ||| The ID of the Atlas private link"
}