Skip to content

Commit c5b10d1

Browse files
authored
chore: Adds database_subnet_group_name as an output variable (#592)
1 parent 0027771 commit c5b10d1

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -715,6 +715,7 @@ No Modules.
715715
| database\_route\_table\_ids | List of IDs of database route tables |
716716
| database\_subnet\_arns | List of ARNs of database subnets |
717717
| database\_subnet\_group | ID of database subnet group |
718+
| database\_subnet\_group\_name | Name of database subnet group |
718719
| database\_subnets | List of IDs of database subnets |
719720
| database\_subnets\_cidr\_blocks | List of cidr\_blocks of database subnets |
720721
| database\_subnets\_ipv6\_cidr\_blocks | List of IPv6 cidr\_blocks of database subnets in an IPv6 enabled VPC |

outputs.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,11 @@ output "database_subnet_group" {
133133
value = concat(aws_db_subnet_group.database.*.id, [""])[0]
134134
}
135135

136+
output "database_subnet_group_name" {
137+
description = "Name of database subnet group"
138+
value = concat(aws_db_subnet_group.database.*.name, [""])[0]
139+
}
140+
136141
output "redshift_subnets" {
137142
description = "List of IDs of redshift subnets"
138143
value = aws_subnet.redshift.*.id

0 commit comments

Comments
 (0)