Skip to content

Commit be5e3d3

Browse files
rafilkmp3antonbabenko
authored andcommitted
Added ARN of VPC in module output (#245)
I need in my policy generator the arn of vpc so I would like to include this
1 parent 1b5d9e6 commit be5e3d3

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
@@ -3,6 +3,11 @@ output "vpc_id" {
33
value = "${element(concat(aws_vpc.this.*.id, list("")), 0)}"
44
}
55

6+
output "vpc_arn" {
7+
description = "The ARN of the VPC"
8+
value = "${element(concat(aws_vpc.this.*.arn, list("")), 0)}"
9+
}
10+
611
output "vpc_cidr_block" {
712
description = "The CIDR block of the VPC"
813
value = "${element(concat(aws_vpc.this.*.cidr_block, list("")), 0)}"

0 commit comments

Comments
 (0)