-
-
Notifications
You must be signed in to change notification settings - Fork 181
/
outputs.tf
54 lines (44 loc) · 1.5 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
50
51
52
53
54
output "instance_id" {
value = join("", aws_db_instance.default[*].identifier)
description = "ID of the instance"
}
output "instance_arn" {
value = join("", aws_db_instance.default[*].arn)
description = "ARN of the instance"
}
output "instance_address" {
value = join("", aws_db_instance.default[*].address)
description = "Address of the instance"
}
output "instance_endpoint" {
value = join("", aws_db_instance.default[*].endpoint)
description = "DNS Endpoint of the instance"
}
output "subnet_group_id" {
value = join("", aws_db_subnet_group.default[*].id)
description = "ID of the created Subnet Group"
}
output "security_group_id" {
value = join("", aws_security_group.default[*].id)
description = "ID of the Security Group"
}
output "parameter_group_id" {
value = join("", aws_db_parameter_group.default[*].id)
description = "ID of the Parameter Group"
}
output "option_group_id" {
value = join("", aws_db_option_group.default[*].id)
description = "ID of the Option Group"
}
output "hostname" {
value = module.dns_host_name.hostname
description = "DNS host name of the instance"
}
output "resource_id" {
value = join("", aws_db_instance.default[*].resource_id)
description = "The RDS Resource ID of this instance."
}
output "master_user_secret" {
value = one(aws_db_instance.default[*].master_user_secret)
description = "Secret object if configured with `var.database_manage_master_user_password = true`."
}