@@ -73,6 +73,11 @@ output "private_subnets" {
73
73
value = [" ${ aws_subnet . private . * . id } " ]
74
74
}
75
75
76
+ output "private_subnet_arns" {
77
+ description = " List of ARNs of private subnets"
78
+ value = [" ${ aws_subnet . private . * . arn } " ]
79
+ }
80
+
76
81
output "private_subnets_cidr_blocks" {
77
82
description = " List of cidr_blocks of private subnets"
78
83
value = [" ${ aws_subnet . private . * . cidr_block } " ]
@@ -83,6 +88,11 @@ output "public_subnets" {
83
88
value = [" ${ aws_subnet . public . * . id } " ]
84
89
}
85
90
91
+ output "public_subnet_arns" {
92
+ description = " List of ARNs of public subnets"
93
+ value = [" ${ aws_subnet . public . * . arn } " ]
94
+ }
95
+
86
96
output "public_subnets_cidr_blocks" {
87
97
description = " List of cidr_blocks of public subnets"
88
98
value = [" ${ aws_subnet . public . * . cidr_block } " ]
@@ -93,6 +103,11 @@ output "database_subnets" {
93
103
value = [" ${ aws_subnet . database . * . id } " ]
94
104
}
95
105
106
+ output "database_subnet_arns" {
107
+ description = " List of ARNs of database subnets"
108
+ value = [" ${ aws_subnet . database . * . arn } " ]
109
+ }
110
+
96
111
output "database_subnets_cidr_blocks" {
97
112
description = " List of cidr_blocks of database subnets"
98
113
value = [" ${ aws_subnet . database . * . cidr_block } " ]
@@ -108,6 +123,11 @@ output "redshift_subnets" {
108
123
value = [" ${ aws_subnet . redshift . * . id } " ]
109
124
}
110
125
126
+ output "redshift_subnet_arns" {
127
+ description = " List of ARNs of redshift subnets"
128
+ value = [" ${ aws_subnet . redshift . * . arn } " ]
129
+ }
130
+
111
131
output "redshift_subnets_cidr_blocks" {
112
132
description = " List of cidr_blocks of redshift subnets"
113
133
value = [" ${ aws_subnet . redshift . * . cidr_block } " ]
@@ -123,6 +143,11 @@ output "elasticache_subnets" {
123
143
value = [" ${ aws_subnet . elasticache . * . id } " ]
124
144
}
125
145
146
+ output "elasticache_subnet_arns" {
147
+ description = " List of ARNs of elasticache subnets"
148
+ value = [" ${ aws_subnet . elasticache . * . arn } " ]
149
+ }
150
+
126
151
output "elasticache_subnets_cidr_blocks" {
127
152
description = " List of cidr_blocks of elasticache subnets"
128
153
value = [" ${ aws_subnet . elasticache . * . cidr_block } " ]
@@ -133,6 +158,11 @@ output "intra_subnets" {
133
158
value = [" ${ aws_subnet . intra . * . id } " ]
134
159
}
135
160
161
+ output "intra_subnet_arns" {
162
+ description = " List of ARNs of intra subnets"
163
+ value = [" ${ aws_subnet . intra . * . arn } " ]
164
+ }
165
+
136
166
output "intra_subnets_cidr_blocks" {
137
167
description = " List of cidr_blocks of intra subnets"
138
168
value = [" ${ aws_subnet . intra . * . cidr_block } " ]
0 commit comments