vpc
FlexibleEngineCloud/vpc/flexibleengine
Terraform module which creates VPC resources on Flexible Engine
Flexible Engine VPC Terraform Module --- Terraform module which creates VPC, subnets, NAT gateway resources and SNAT rules on Flexible Engine Terraform Version > Important Note regarding update from v1.2.0 to v1.3.0 > If you use a NAT Gatewy and SNAT rules, switching module version from v1.2.0 to v1.3.0 will delete the current SNAT rule public IP and create a new one. > > Thus, ECSs outbound public IP will be replaced by a new one. > > But now, you can reserve public IP (EIP) thanks to terraform-flexibleegine-eip module and assign it to your SNAT rules with this terraform-flexibleegine-vpc module. Module Version > Important Notes regarding update module from v2.0.1 and earlier to v 2.1.0 and later > A compatibility break has been introduced in new module version 2.1.0. The subnets list is
| Name | Type | Description | Default |
|---|---|---|---|
| existing_eip_id | string | ID of an existing EIP | required |
| eip_bandwidth | number | Bandwidth of the EIP in Mbit/s | required |
| secondary_dns | string | IP address of secondary DNS | "100.126.0.41" |
| new_eip | bool | Whether or not attach new Elastic IP (public IP) to NAT Gateway | false |
| eip_pool_name | string | Name of eip pool | "admin_external_net" |
| vpc_cidr | string | The CIDR for the VPC. Default value is a valid CIDR, but not acceptable by Flexi | "0.0.0.0/0" |
| vpc_subnets | list(object({ subnet_name | json description of subnets to create | [] |
| primary_dns | string | IP address of primary DNS | "100.125.0.41" |
| nat_gateway_name | string | Name of the NAT gateway | "" |
| create_vpc | bool | Controls if VPC should be created (it affects almost all resources) | true |
| vpc_name | string | Name of the VPC to create | "vpc-main" |
| vpc_snat_subnets | list | list of snat subnet names | [] |
| enable_nat_gateway | bool | Should be true if you want to provision NAT Gateways for your networks | false |
| nat_gateway_type | number | Type of NAT gateway. 4 values (1,2,3,4). 1 is small type, and 4 the Extra-large | "1" |
| nat_gateway_subnet_name | string | Name of subnet used by the NAT Gateway | "" |
snat_eip — The Public IP adress of the SNAT rulevpc_id — ID of the created vpcvpc_name — Name of the created vpcsubnet_ids — list of IDs of the created subnetsgateway_id — id of NAT gatewaynetwork_ids — list of IDs of the created networksTerraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Azure Verified Pattern Module for Azure Landing Zone
Terraform Azure Verified Resource Module for Key Vault
Terraform module for building and deploying Next.js apps to AWS. Supports SSR (L