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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user