@@ -73,6 +73,11 @@ output "private_subnets" {
7373 value = [" ${ aws_subnet . private . * . id } " ]
7474}
7575
76+ output "private_subnet_arns" {
77+ description = " List of ARNs of private subnets"
78+ value = [" ${ aws_subnet . private . * . arn } " ]
79+ }
80+
7681output "private_subnets_cidr_blocks" {
7782 description = " List of cidr_blocks of private subnets"
7883 value = [" ${ aws_subnet . private . * . cidr_block } " ]
@@ -83,6 +88,11 @@ output "public_subnets" {
8388 value = [" ${ aws_subnet . public . * . id } " ]
8489}
8590
91+ output "public_subnet_arns" {
92+ description = " List of ARNs of public subnets"
93+ value = [" ${ aws_subnet . public . * . arn } " ]
94+ }
95+
8696output "public_subnets_cidr_blocks" {
8797 description = " List of cidr_blocks of public subnets"
8898 value = [" ${ aws_subnet . public . * . cidr_block } " ]
@@ -93,6 +103,11 @@ output "database_subnets" {
93103 value = [" ${ aws_subnet . database . * . id } " ]
94104}
95105
106+ output "database_subnet_arns" {
107+ description = " List of ARNs of database subnets"
108+ value = [" ${ aws_subnet . database . * . arn } " ]
109+ }
110+
96111output "database_subnets_cidr_blocks" {
97112 description = " List of cidr_blocks of database subnets"
98113 value = [" ${ aws_subnet . database . * . cidr_block } " ]
@@ -108,6 +123,11 @@ output "redshift_subnets" {
108123 value = [" ${ aws_subnet . redshift . * . id } " ]
109124}
110125
126+ output "redshift_subnet_arns" {
127+ description = " List of ARNs of redshift subnets"
128+ value = [" ${ aws_subnet . redshift . * . arn } " ]
129+ }
130+
111131output "redshift_subnets_cidr_blocks" {
112132 description = " List of cidr_blocks of redshift subnets"
113133 value = [" ${ aws_subnet . redshift . * . cidr_block } " ]
@@ -123,6 +143,11 @@ output "elasticache_subnets" {
123143 value = [" ${ aws_subnet . elasticache . * . id } " ]
124144}
125145
146+ output "elasticache_subnet_arns" {
147+ description = " List of ARNs of elasticache subnets"
148+ value = [" ${ aws_subnet . elasticache . * . arn } " ]
149+ }
150+
126151output "elasticache_subnets_cidr_blocks" {
127152 description = " List of cidr_blocks of elasticache subnets"
128153 value = [" ${ aws_subnet . elasticache . * . cidr_block } " ]
@@ -133,6 +158,11 @@ output "intra_subnets" {
133158 value = [" ${ aws_subnet . intra . * . id } " ]
134159}
135160
161+ output "intra_subnet_arns" {
162+ description = " List of ARNs of intra subnets"
163+ value = [" ${ aws_subnet . intra . * . arn } " ]
164+ }
165+
136166output "intra_subnets_cidr_blocks" {
137167 description = " List of cidr_blocks of intra subnets"
138168 value = [" ${ aws_subnet . intra . * . cidr_block } " ]
0 commit comments