Terraform module to create and manage AWS VPN gateway connections, attachments, and route propagation.
terraform-aws-vpn-gateway is a Terraform module that automates the provisioning of AWS VPN gateway resources. It creates VPN connections, attaches gateways to VPCs, and manages route propagation between AWS and on-premises networks. The module solves the problem of manually configuring complex VPN setups by providing a consistent, repeatable infrastructure-as-code solution.
DevOps engineers and cloud infrastructure teams managing hybrid cloud environments who need to establish secure connections between AWS VPCs and external networks using Terraform.
Developers choose this module because it's part of the trusted terraform-aws-modules ecosystem, reduces boilerplate configuration, and integrates seamlessly with other AWS modules. It provides sensible defaults while offering extensive customization options for advanced VPN scenarios.
Terraform module to create AWS VPN gateway resources 🇺🇦
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Designed to work seamlessly with the terraform-aws-modules/vpc module, simplifying VPN gateway attachment and reducing boilerplate code, as shown in the usage examples.
Supports optional tunnel-specific configurations like inside CIDR blocks and pre-shared keys for both tunnels, offering fine-grained control over VPN connections.
Automatically propagates VPN routes to specified VPC subnet routing tables based on vpc_subnet_route_table_ids, ensuring network traffic is correctly routed.
Compatible with AWS Transit Gateway, enabling scalable network architectures, with examples provided for integration using connect_to_transit_gateway and transit_gateway_id.
Does not create VPN Gateway or Customer Gateway resources, requiring them to be managed separately, which adds complexity to the deployment process, as admitted in the README.
Requires precise variables like vpc_subnet_route_table_count and vpc_subnet_route_table_ids, which can be error-prone and need careful planning, increasing setup time.
The documentation assumes familiarity with AWS VPN concepts, lacking beginner-friendly explanations, which might hinder adoption for those new to hybrid networking.