Site-to-Site VPN Connection
IPsec tunnel between a VPN gateway and a customer gateway.
Configuration
Section titled “Configuration”| Setting | Type | Required | Default |
|---|---|---|---|
| Connection name | Text | Yes | — |
| Type Options: IPsec | Choice | — | ipsec.1 |
| Static routes only | Toggle | — | false |
| Transit gateway ID | Text | — | — |
| VPN gateway ID (override) | Text | — | — |
| Customer gateway ID (override) | Text | — | — |
| Tunnel inside IP version Options: IPv4, IPv6 | Choice | — | ipv4 |
| Tunnel 1 inside CIDR | Text | — | — |
| Tunnel 2 inside CIDR | Text | — | — |
| Tunnel 1 PSK | Text | — | — |
| Tunnel 2 PSK | Text | — | — |
| Acceleration enabled | Toggle | — | false |
| Local IPv4 CIDR | Text | — | — |
| Remote IPv4 CIDR | Text | — | — |
| Tags | Key–value | — | — |
Connections
Section titled “Connections”| Socket | Direction | Accepts | Terraform arg |
|---|---|---|---|
| VPN gateway | Input | aws.vpn-gateway | vpn_gateway_id |
| Customer gateway | Input | aws.customer-gateway | customer_gateway_id |
| Transit gateway | Input | aws.transit-gateway | transit_gateway_id |
| Routes | Output | any | — |