Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update c3-02-vpc-module.tf #8

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
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
}
}