Data Source: aws_ec2_client_vpn_endpoint

Get information on an EC2 Client VPN endpoint.

Example Usage

By Filter

data "aws_ec2_client_vpn_endpoint" "example" {
  filter {
    name   = "tag:Name"
    values = ["ExampleVpn"]
  }
}

By Identifier

data "aws_ec2_client_vpn_endpoint" "example" {
  client_vpn_endpoint_id = "cvpn-endpoint-083cf50d6eb314f21"
}

Argument Reference

This data source supports the following arguments:

filter

This block allows for complex filters. You can use one or more filter blocks.

The following arguments are required:

Attribute Reference

This data source exports the following attributes in addition to the arguments above:

Timeouts

Configuration options: