forked from cloudposse/terraform-aws-rds
-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
44 lines (36 loc) · 1.13 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
output "instance_id" {
value = join("", aws_db_instance.default.*.id)
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 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"
}