Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module "vpc" {
- source = "terraform-aws-modules/vpc/aws"
- name = "my-vpc"
- cidr = "${local.cidr}"
- azs = "${local.azs}"
- private_subnets = "${local.private_subnets}"
- public_subnets = "${local.public_subnets}"
- enable_nat_gateway = true
- single_nat_gateway = true
- one_nat_gateway_per_az = false
- private_subnet_tags = {
- "kubernetes.io/role/internal-elb" = 1
- }
- public_subnet_tags = {
- "kubernetes.io/role/elb" = 1
- }
- tags = {
- Environment = "${local.environment}"
- Application = "network"
- "kubernetes.io/cluster/${local.cluster_name}" = "shared"
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement