Commit 4e484aa7 authored by Anton Babenko's avatar Anton Babenko

Added azs to outputs which is an argument

parent 44bb5899
......@@ -255,6 +255,7 @@ Terraform version 0.10.3 or newer is required for this module to work.
| Name | Description |
|------|-------------|
| azs | A list of availability zones spefified as argument to this module |
| database\_route\_table\_ids | List of IDs of database route tables |
| database\_subnet\_group | ID of database subnet group |
| database\_subnets | List of IDs of database subnets |
......
......@@ -21,6 +21,7 @@ Note that this example may create resources which can cost money (AWS Elastic IP
| Name | Description |
|------|-------------|
| azs | A list of availability zones spefified as argument to this module |
| nat\_public\_ips | List of public Elastic IPs created for AWS NAT Gateway |
| private\_subnets | List of IDs of private subnets |
| public\_subnets | List of IDs of public subnets |
......
......@@ -31,3 +31,9 @@ output "nat_public_ips" {
description = "List of public Elastic IPs created for AWS NAT Gateway"
value = ["${module.vpc.nat_public_ips}"]
}
# AZs
output "azs" {
description = "A list of availability zones spefified as argument to this module"
value = ["${module.vpc.azs}"]
}
......@@ -278,3 +278,7 @@ output "default_vpc_main_route_table_id" {
// value = "${element(concat(aws_default_vpc.this.*.ipv6_cidr_block, list("")), 0)}"
//}
output "azs" {
description = "A list of availability zones spefified as argument to this module"
value = "${var.azs}"
}
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