Terraform resource: aws ec2 client vpn endpoint

From wikieduonline
(Redirected from Aws ec2 client vpn endpoint)
Jump to navigation Jump to search

Terraform resource: aws_ec2_client_vpn_endpoint (doc)

Official example[edit]

resource "aws_ec2_client_vpn_endpoint" "example" {
 description            = "terraform-clientvpn-example"
 server_certificate_arn = aws_acm_certificate.cert.arn
 client_cidr_block      = "10.0.0.0/16"
 authentication_options {
   type                       = "certificate-authentication"
   root_certificate_chain_arn = aws_acm_certificate.root_cert.arn
 }
 connection_log_options {
   enabled               = true
   cloudwatch_log_group  = aws_cloudwatch_log_group.lg.name
   cloudwatch_log_stream = aws_cloudwatch_log_stream.ls.name
 }
}

Related[edit]

See also[edit]

Advertising: