You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This module creates AWS vpn client endpoint with 2MFA using Okta (could be disabled).
It also contains script create_user.sh that make it easier to create client certificates.
Examples
## VPCdata"aws_vpc""default" {
filter {
name="tag:Name"values=["dev-vpc"]
}
}
data"aws_subnet_ids""public" {
vpc_id=data.aws_vpc.default.idtags={
Name ="*public*"
}
}
module"vpn-client" {
source="git::https://github.com/dmytro-dorofeiev/modules/terraform-aws-vpn-client-module"cidr=var.vpn_cidrauth_target_network_cidr=var.target_network_cidrname=var.vpn_namesubnet_ids=data.aws_subnet_ids.public.idsvpc_id=data.aws_vpc.default.id
}
output"client_vpn_endpoint_id" {
description="The ID of the Client VPN endpoint."value=module.vpn-client.client_vpn_endpoint_id
}