Skip to content

appvia/terraform-aws-vpn

Requirements

Name Version
terraform >= 1.0
aws ~> 5.0

Providers

Name Version
aws ~> 5.0

Modules

Name Source Version
client_vpn cloudposse/ec2-client-vpn/aws 1.0.0

Resources

Name Type
aws_iam_saml_provider.vpn resource
aws_iam_saml_provider.vpn_portal resource

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.