github.com/recobe182/terraform@v0.8.5-0.20170117231232-49ab22a935b7/examples/aws-networking/subnet/variables.tf (about) 1 variable "vpc_id" {} 2 3 variable "availability_zone" {} 4 5 data "aws_availability_zone" "target" { 6 name = "${var.availability_zone}" 7 } 8 9 data "aws_vpc" "target" { 10 id = "${var.vpc_id}" 11 }