From 8b9d3e64bf3e874a62de437f34ee29fedf00d990 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20Tobias=20Skjong-B=C3=B8rsting?= Date: Fri, 15 Feb 2019 10:49:35 +0100 Subject: [PATCH] Output cidr_block Although, I might in fact get this from the same variable as I put in, it is more readable when referring to it from other resources this way. --- outputs.tf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/outputs.tf b/outputs.tf index d9c6a51..5551ae5 100644 --- a/outputs.tf +++ b/outputs.tf @@ -30,3 +30,8 @@ output "main_route_table_id" { description = "The ID of the main route table." value = "${aws_vpc.main.main_route_table_id}" } + +output "cidr_block" { + description = "The cidr_block of the VPC." + value = "${aws_vpc.main.cidr_block}" +}