| layout | cloudstack |
|---|---|
| page_title | Cloudstack: cloudstack_vpn_connection |
| sidebar_current | docs-cloudstack-cloudstack_vpn_connection |
| description | Gets information about cloudstack vpn connection. |
Use this datasource to get information about a vpn connection for use in other resources.
data "cloudstack_vpc" "vpc-data-source"{
filter{
name = "name"
value= "test-vpc"
}
filter{
name = "cidr"
value= "10.0.0.0/16"
}filter- (Required) One or more name/value pairs to filter off of. You can apply filters on any exported attributes.
The following attributes are exported:
s2s_customer_gateway_id- The customer gateway ID.s2s_vpn_gateway_id- The vpn gateway ID.