Commit be5e3d3b authored by Rafael Bernardo's avatar Rafael Bernardo Committed by Anton Babenko

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
parent 1b5d9e67
......@@ -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)}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment