mirror of
https://github.com/kelseyhightower/kubernetes-the-hard-way.git
synced 2025-12-15 09:18:58 +03:00
Adding the subnet id data source back in now that subnets are properly tagged.
This commit is contained in:
@@ -2,12 +2,12 @@ locals {
|
|||||||
service = "${var.prefix}-${var.name}-cp"
|
service = "${var.prefix}-${var.name}-cp"
|
||||||
}
|
}
|
||||||
|
|
||||||
# data "aws_subnet_ids" "private" {
|
data "aws_subnet_ids" "private" {
|
||||||
# vpc_id = "${module.vpc.vpc_id}"
|
vpc_id = "${module.vpc.vpc_id}"
|
||||||
# tags = {
|
tags = {
|
||||||
# Tier = "Private"
|
Tier = "private-${var.prefix}-${var.name}"
|
||||||
# }
|
}
|
||||||
# }
|
}
|
||||||
|
|
||||||
data "aws_ami" "base" {
|
data "aws_ami" "base" {
|
||||||
owners = ["self"]
|
owners = ["self"]
|
||||||
|
|||||||
Reference in New Issue
Block a user