2015-03-09 14:00:29 +01:00
|
|
|
---
|
|
|
|
layout: "cloudstack"
|
|
|
|
page_title: "CloudStack: cloudstack_vpn_gateway"
|
|
|
|
sidebar_current: "docs-cloudstack-resource-vpn-gateway"
|
|
|
|
description: |-
|
|
|
|
Creates a site to site VPN local gateway.
|
|
|
|
---
|
|
|
|
|
2017-04-10 18:15:08 +02:00
|
|
|
# cloudstack_vpn_gateway
|
2015-03-09 14:00:29 +01:00
|
|
|
|
|
|
|
Creates a site to site VPN local gateway.
|
|
|
|
|
|
|
|
## Example Usage
|
|
|
|
|
|
|
|
Basic usage:
|
|
|
|
|
2017-04-10 18:15:08 +02:00
|
|
|
```hcl
|
2015-03-09 14:00:29 +01:00
|
|
|
resource "cloudstack_vpn_gateway" "default" {
|
2017-02-18 23:48:50 +01:00
|
|
|
vpc_id = "f8141e2f-4e7e-4c63-9362-986c908b7ea7"
|
2015-03-09 14:00:29 +01:00
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
## Argument Reference
|
|
|
|
|
|
|
|
The following arguments are supported:
|
|
|
|
|
2016-04-11 17:14:19 +02:00
|
|
|
* `vpc_id` - (Required) The ID of the VPC for which to create the VPN Gateway.
|
2015-03-09 14:00:29 +01:00
|
|
|
Changing this forces a new resource to be created.
|
|
|
|
|
|
|
|
## Attributes Reference
|
|
|
|
|
|
|
|
The following attributes are exported:
|
|
|
|
|
|
|
|
* `id` - The ID of the VPN Gateway.
|
|
|
|
* `public_ip` - The public IP address associated with the VPN Gateway.
|