Skip to content

Commit

Permalink
Added ARN of VPC in module output (#245)
Browse files Browse the repository at this point in the history
I need in my policy generator the arn of vpc so I would like to include this
  • Loading branch information
rafilkmp3 authored and antonbabenko committed Apr 25, 2019
1 parent 1b5d9e6 commit be5e3d3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ output "vpc_id" {
value = "${element(concat(aws_vpc.this.*.id, list("")), 0)}"
}

output "vpc_arn" {
description = "The ARN of the VPC"
value = "${element(concat(aws_vpc.this.*.arn, list("")), 0)}"
}

output "vpc_cidr_block" {
description = "The CIDR block of the VPC"
value = "${element(concat(aws_vpc.this.*.cidr_block, list("")), 0)}"
Expand Down

0 comments on commit be5e3d3

Please sign in to comment.