-
-
Save drmikecrowe/5c8b3bead3536f77511137417f15db39 to your computer and use it in GitHub Desktop.
VPC (failing) Lambda RDS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module "vpc" { | |
source = "cloudposse/vpc/aws" | |
version = "2.1.0" | |
ipv4_primary_cidr_block = var.cidr_block # cidr_block: '10.0.0.0/16' | |
assign_generated_ipv6_cidr_block = false | |
context = module.this.context | |
} | |
module "subnets" { | |
source = "cloudposse/dynamic-subnets/aws" | |
version = "2.4.1" | |
availability_zones = local.availability_zones # availability_zones: ['us-east-1a', 'us-east-1b'] | |
vpc_id = module.vpc.vpc_id | |
igw_id = [module.vpc.igw_id] | |
ipv4_cidr_block = [module.vpc.vpc_cidr_block] | |
nat_gateway_enabled = false | |
nat_instance_enabled = true | |
nat_instance_type = "t3a.nano" | |
max_nats = 1 | |
context = module.this.context | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment