-
Notifications
You must be signed in to change notification settings - Fork 57
/
outputs.tf
28 lines (23 loc) · 678 Bytes
/
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
#
# Module: tf_aws_rds
#
# Output the ID of the RDS instance
output "rds_instance_id" {
value = "${aws_db_instance.main_rds_instance.id}"
}
# Output the address (aka hostname) of the RDS instance
output "rds_instance_address" {
value = "${aws_db_instance.main_rds_instance.address}"
}
# Output endpoint (hostname:port) of the RDS instance
output "rds_instance_endpoint" {
value = "${aws_db_instance.main_rds_instance.endpoint}"
}
# Output the ID of the Subnet Group
output "subnet_group_id" {
value = "${aws_db_subnet_group.main_db_subnet_group.id}"
}
# Output DB security group ID
output "security_group_id" {
value = "${aws_security_group.main_db_access.id}"
}