Skip to content

Commit

Permalink
chore: Adds database_subnet_group_name as an output variable (#592)
Browse files Browse the repository at this point in the history
  • Loading branch information
DeLoWaN authored Feb 22, 2021
1 parent 0027771 commit c5b10d1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down
5 changes: 5 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c5b10d1

Please sign in to comment.