diff --git a/README.md b/README.md index 3b1c63ec8..b3ff70494 100644 --- a/README.md +++ b/README.md @@ -715,6 +715,7 @@ No Modules. | database\_route\_table\_ids | List of IDs of database route tables | | database\_subnet\_arns | List of ARNs of database subnets | | database\_subnet\_group | ID of database subnet group | +| database\_subnet\_group\_name | Name of database subnet group | | database\_subnets | List of IDs of database subnets | | database\_subnets\_cidr\_blocks | List of cidr\_blocks of database subnets | | database\_subnets\_ipv6\_cidr\_blocks | List of IPv6 cidr\_blocks of database subnets in an IPv6 enabled VPC | diff --git a/outputs.tf b/outputs.tf index c144fbb9d..16a9a6cad 100644 --- a/outputs.tf +++ b/outputs.tf @@ -133,6 +133,11 @@ output "database_subnet_group" { value = concat(aws_db_subnet_group.database.*.id, [""])[0] } +output "database_subnet_group_name" { + description = "Name of database subnet group" + value = concat(aws_db_subnet_group.database.*.name, [""])[0] +} + output "redshift_subnets" { description = "List of IDs of redshift subnets" value = aws_subnet.redshift.*.id