2015-03-09 14:00:29 +01:00
|
|
|
---
|
|
|
|
layout: "cloudstack"
|
|
|
|
page_title: "CloudStack: cloudstack_vpn_connection"
|
|
|
|
sidebar_current: "docs-cloudstack-resource-vpn-connection"
|
|
|
|
description: |-
|
|
|
|
Creates a site to site VPN connection.
|
|
|
|
---
|
|
|
|
|
|
|
|
# cloudstack\_vpn\_connection
|
|
|
|
|
|
|
|
Creates a site to site VPN connection.
|
|
|
|
|
|
|
|
## Example Usage
|
|
|
|
|
|
|
|
Basic usage:
|
|
|
|
|
|
|
|
```
|
|
|
|
resource "cloudstack_vpn_connection" "default" {
|
2016-04-11 17:14:19 +02:00
|
|
|
customer_gateway_id = "8dab9381-ae73-48b8-9a3d-c460933ef5f7"
|
|
|
|
vpn_gateway_id = "a7900060-f8a8-44eb-be15-ea54cf499703"
|
2015-03-09 14:00:29 +01:00
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
## Argument Reference
|
|
|
|
|
|
|
|
The following arguments are supported:
|
|
|
|
|
2016-04-11 17:14:19 +02:00
|
|
|
* `customer_gateway_id` - (Required) The Customer Gateway ID to connect.
|
2015-03-09 14:00:29 +01:00
|
|
|
Changing this forces a new resource to be created.
|
|
|
|
|
2016-04-11 17:14:19 +02:00
|
|
|
* `vpn_gateway_id` - (Required) The VPN Gateway ID to connect. Changing
|
|
|
|
this forces a new resource to be created.
|
|
|
|
|
2015-03-09 14:00:29 +01:00
|
|
|
## Attributes Reference
|
|
|
|
|
|
|
|
The following attributes are exported:
|
|
|
|
|
|
|
|
* `id` - The ID of the VPN Connection.
|