Skip to content

Commit

Permalink
Add secondary cidr block outputs to module output
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnnyC08 committed Aug 30, 2018
1 parent 2c854d5 commit f606f49
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
Empty file.
Empty file.
Empty file.
5 changes: 5 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,11 @@ output "default_vpc_cidr_block" {
value = "${element(concat(aws_default_vpc.this.*.cidr_block, list("")), 0)}"
}

output "vpc_secondary_cidr_blocks" {
description = "Secondary CIDR blocks of the VPC"
value = ["${aws_vpc_ipv4_cidr_block_association.this.*.cidr_block}"]
}

output "default_vpc_default_security_group_id" {
description = "The ID of the security group created by default on VPC creation"
value = "${element(concat(aws_default_vpc.this.*.default_security_group_id, list("")), 0)}"
Expand Down

0 comments on commit f606f49

Please sign in to comment.