github.com/emc-cmd/terraform@v0.7.8-0.20161101145618-f16309630e7c/examples/aws-rds/subnets.tf (about) 1 resource "aws_subnet" "subnet_1" { 2 vpc_id = "${var.vpc_id}" 3 cidr_block = "${var.subnet_1_cidr}" 4 availability_zone = "${var.az_1}" 5 6 tags { 7 Name = "main_subnet1" 8 } 9 } 10 11 resource "aws_subnet" "subnet_2" { 12 vpc_id = "${var.vpc_id}" 13 cidr_block = "${var.subnet_2_cidr}" 14 availability_zone = "${var.az_2}" 15 16 tags { 17 Name = "main_subnet2" 18 } 19 }