Skip to content

Commit 83be3dd

Browse files
authored
feat: added output for multiple cidrs (#1)
1 parent b35a101 commit 83be3dd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

outputs.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ output "vpc_cidr_block" {
2828
value = data.aws_vpc.this.cidr_block
2929
}
3030

31+
output "vpc_cidr_blocks" {
32+
description = "All CIDR ranges for this VPC"
33+
value = data.aws_vpc.this.cidr_block_associations[*].cidr_block
34+
}
35+
3136
output "vpc_id" {
3237
description = "The ID of the VPC"
3338
value = data.aws_vpc.this.id

0 commit comments

Comments
 (0)