Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ module "vpc" {
# VPC Basic Details
name = local.eks_cluster_name
cidr = var.vpc_cidr_block
azs = data.aws_availability_zones.available.names
# azs = data.aws_availability_zones.available.names #comment out as it causes error availability zone has no capcity,need to add more zone so added code below
azs = ["us-east-1a", "us-east-1b", "us-east-1c","us-east-1d","us-east-1f"]
public_subnets = var.vpc_public_subnets
private_subnets = var.vpc_private_subnets

Expand Down Expand Up @@ -52,4 +53,4 @@ module "vpc" {
}
# Instances launched into the Public subnet should be assigned a public IP address.
map_public_ip_on_launch = true
}
}