Adding the subnet id data source back in now that subnets are properly tagged.

pull/516/head
Jonathan Simon 2019-11-24 21:21:42 -08:00
parent 08b6ae968f
commit 7ded8e1316
1 changed files with 6 additions and 6 deletions

View File

@ -2,12 +2,12 @@ locals {
service = "${var.prefix}-${var.name}-cp"
}
# data "aws_subnet_ids" "private" {
# vpc_id = "${module.vpc.vpc_id}"
# tags = {
# Tier = "Private"
# }
# }
data "aws_subnet_ids" "private" {
vpc_id = "${module.vpc.vpc_id}"
tags = {
Tier = "private-${var.prefix}-${var.name}"
}
}
data "aws_ami" "base" {
owners = ["self"]