client-vpn

DNXLabs/client-vpn/aws

Terraform Module HCL AWS

This terraform module installs a client VPN.

Install
module "client-vpn" {
source = "DNXLabs/client-vpn/aws"
version = "0.12.1"
}
plain text: /constructs/tfmod-dnxlabs-client-vpn-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

terraform-aws-client-vpn ![Lint Status](https://github.com/DNXLabs/terraform-aws-client-vpn/actions) ![LICENSE](https://github.com/DNXLabs/terraform-aws-client-vpn/blob/master/LICENSE) This terraform module installs a client vpn. The following resources will be created: - VPN Endpoint - Provides an AWS Client VPN endpoint for OpenVPN clients. - Provides network associations for AWS Client VPN endpoints - Generate AWS Certificate Manager(ACM) certificates Requirements | Name | Version | |------|---------| | terraform | >= 0.12.0 | Providers | Name | Version | |------|---------| | aws | n/a | | tls | n/a | Inputs | Name | Description | Type | Default | Required | |------|-------------|------|---------|:--------:| | active\_directory\_id | The ID of the Active Directory to be used for authent

Inputs (19)
NameTypeDescriptionDefault
namestringName prefix for the resources of this stack required
subnet_idslist(string)Subnet ID to associate clients (each subnet passed will create an VPN associatio required
cidrstringNetwork CIDR to use for clients required
vpc_idstringVPC Id to create resources required
logs_retentionnumberRetention in days for CloudWatch Log Group365
enable_self_service_portalboolSpecify whether to enable the self-service portal for the Client VPN endpointfalse
allowed_access_groupslist(string)List of Access group IDs to allow access. Leave empty to allow all groups[]
organization_namestringName of organization to use in private certificate"ACME, Inc"
client_connect_optionsboolIndicates whether client connect options are enabledfalse
connection_authorization_lambda_function_arnstringThe Amazon Resource Name (ARN) of the Lambda function used for connection authornull
self_service_saml_provider_arnstring(Optional) The ARN of the IAM SAML identity provider for portal if self portal inull
security_group_idstringOptional security group id to use instead of the default created""
allowed_cidr_rangeslist(string)List of CIDR ranges from which access is allowed[]
dns_serverslist(string)List of DNS Servers[]
tagsmap(string)Extra tags to attach to resources{}
authentication_typestringThe type of client authentication to be used. Specify certificate-authentication"certificate-authentication"
authentication_saml_provider_arnstring(Optional) The ARN of the IAM SAML identity provider if type is federated-authennull
active_directory_idstringThe ID of the Active Directory to be used for authentication. If not provided, tnull
split_tunnelboolWith split_tunnel false, all client traffic will go through the VPN.true
Outputs (8)
vpn_client_key
vpn_server_cert
vpn_server_key
vpn_ca_cert
vpn_ca_key
security_group_id
vpn_endpoint_id
vpn_client_cert
Resources (13)
aws_acm_certificateaws_cloudwatch_log_groupaws_cloudwatch_log_streamaws_ec2_client_vpn_authorization_ruleaws_ec2_client_vpn_endpointaws_ec2_client_vpn_network_associationaws_ec2_client_vpn_routeaws_security_groupaws_security_group_ruletls_cert_requesttls_locally_signed_certtls_private_keytls_self_signed_cert
Details
FrameworkTerraform Module
LanguageHCL
Version0.12.1
Cloud AWS
★ Stars50
Forks56
Total downloads33.6k
Inputs19
Outputs8
Resources13
LicenseApache-2.0
NamespaceDNXLabs
Updated