Skip to content

appvia/terraform-aws-vpn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3a4ae61 · Jan 22, 2025

History

40 Commits
Apr 23, 2024
Apr 5, 2024
Jan 22, 2025
Dec 24, 2024
Jan 22, 2025
Dec 24, 2024
Dec 24, 2024
May 30, 2024
Apr 5, 2024
Apr 5, 2024
Dec 24, 2024
Dec 27, 2024
Apr 5, 2024
Oct 9, 2024
Apr 24, 2024
Apr 24, 2024
Apr 24, 2024
Dec 11, 2024
Apr 5, 2024
Apr 24, 2024

Appvia Banner

Terraform Registry Latest Release Slack Community Contributors

Github Actions

Terraform AWS VPN Module

This module creates a VPN using the AWS Client VPN service.

Providers

Name Version
aws ~> 5.0

Inputs

Name Description Type Default Required
authorization_rules Authorization rules for the VPN
list(object({
access_group_id = string
description = string
name = string
target_network_cidr = string
}))
n/a yes
name Name of the VPN string n/a yes
saml_provider_document Document for the SAML provider string n/a yes
saml_provider_portal_document Document for the SAML provider portal string n/a yes
tags Tags to apply to all resources map(string) n/a yes
vpc_id ID of the VPC to use for the VPN string n/a yes
vpn_log_stream_name Name of the CloudWatch log stream for the VPN string n/a yes
vpn_org_name Name of the organization for the VPN string n/a yes
client_cidr CIDR block for the VPN clients string "172.16.0.0/16" no
enable_vpn Whether to enable and deploy the VPN (useful do to dependency of this module) bool false no
public_subnet_ids IDs of the public subnets to use for the VPN list(string) [] no
saml_provider_name Name of the SAML provider string "Client_VPN" no
saml_provider_portal_name Name of the SAML provider portal string "Client_VPN_Portal" no
vpn_log_retention Number of days to retain VPN logs number 7 no

Outputs

Name Description
client_configuration VPN Client Configuration data.
vpn_endpoint_arn The ARN of the Client VPN Endpoint Connection.
vpn_endpoint_dns_name The DNS Name of the Client VPN Endpoint Connection.
vpn_endpoint_id The ID of the Client VPN Endpoint Connection.