-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutput.tf
35 lines (29 loc) · 877 Bytes
/
output.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
output "db_instance_address" {
description = "The address of the RDS instance"
value = try(module.db, "")
}
output "db_instance_arn" {
description = "The ARN of the RDS instance"
value = try(module.db, "")
}
output "db_instance_endpoint" {
description = "The connection endpoint"
value = try(module.db.endpoint, "")
}
output "db_instance_port" {
description = "The database port"
value = try(module.db.db_instance_port, "")
}
output "db_username" {
description = "DB username"
value = try(var.db_username, "")
}
output "db_password" {
description = "DB password"
value = try(var.db_password, "")
sensitive = true
}
output "db_instance_cloudwatch_log_groups" {
description = "Map of CloudWatch log groups created and their attributes"
value = try(module.db.db_instance_cloudwatch_log_groups, "")
}