1
0
mirror of https://github.com/openshift/installer.git synced 2026-02-05 06:46:36 +01:00

Merge pull request #490 from wking/worker-subnet-zones

data/aws/vpc/vpc-private: Set worker subnet availability_zone
This commit is contained in:
OpenShift Merge Robot
2018-10-19 09:52:45 -07:00
committed by GitHub

View File

@@ -27,6 +27,8 @@ resource "aws_subnet" "worker_subnet" {
cidrsubnet(local.new_worker_cidr_range, 3, count.index),
)}"
availability_zone = "${local.new_worker_subnet_azs[count.index]}"
tags = "${merge(map(
"Name", "${var.cluster_name}-worker-${local.new_worker_subnet_azs[count.index]}",
"kubernetes.io/cluster/${var.cluster_name}","shared",