{"repo":"terraform-aws-modules/terraform-aws-vpc","free":true,"listed":false,"github":"https://github.com/terraform-aws-modules/terraform-aws-vpc","clone":"git clone https://github.com/terraform-aws-modules/terraform-aws-vpc.git","description":"Terraform module to create AWS VPC resources 🇺🇦","language":"HCL","stars":3255,"topics":["terraform-module","vpc","aws-vpc","aws"],"license":"Apache-2.0","category":"deployment-docker-iac","readme_excerpt":"AWS VPC Terraform module Terraform module which creates VPC resources on AWS. Usage [!WARNING] v6.x of the module still supports creating a VPC Flow Log within the root (VPC) module. However, this is deprecated behavior and will be removed in v7.0.0. Please use the standalone flow log module instead. External NAT Gateway IPs By default this module will provision new Elastic IPs for the VPC's NAT Gateways. This means that when creating a new VPC, new IPs are allocated, and when that VPC is destroyed those IPs are released. Sometimes it is handy to keep the same IPs even after the VPC is destroyed and re-created. To that end, it is possible to assign existing IPs to the NAT Gateways. This prevents the destruction of the VPC from releasing those IPs, while making it possible that a re-created VPC uses the same IPs. To achieve this, allocate the IPs outside the VPC module declaration. Then, pass the allocated IPs as a parameter to this module. Note that in the example we allocate 3 IPs because we will be provisioning 3 NAT Gateways (due to single nat gateway = false and having 3 subnets). If, on the other hand, single nat gateway = true , then aws eip.nat would only need to allocate 1 IP. Passing the IPs into the module is done by setting two variables reuse nat ips = true and external nat ip ids = \"${aws eip.nat. .id}\" . NAT Gateway Scenarios This module supports three scenarios for creating NAT gateways. Each will be explained in further detail in the corresponding sections. - ","default_branch":null,"files":null,"tree":[],"storefront":"/r/terraform-aws-modules","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/terraform-aws-modules/terraform-aws-vpc/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}