github.com/vtorhonen/terraform@v0.9.0-beta2.0.20170307220345-5d894e4ffda7/website/source/docs/providers/cloudstack/r/vpn_gateway.html.markdown (about) 1 --- 2 layout: "cloudstack" 3 page_title: "CloudStack: cloudstack_vpn_gateway" 4 sidebar_current: "docs-cloudstack-resource-vpn-gateway" 5 description: |- 6 Creates a site to site VPN local gateway. 7 --- 8 9 # cloudstack\_vpn\_gateway 10 11 Creates a site to site VPN local gateway. 12 13 ## Example Usage 14 15 Basic usage: 16 17 ``` 18 resource "cloudstack_vpn_gateway" "default" { 19 vpc_id = "f8141e2f-4e7e-4c63-9362-986c908b7ea7" 20 } 21 ``` 22 23 ## Argument Reference 24 25 The following arguments are supported: 26 27 * `vpc_id` - (Required) The ID of the VPC for which to create the VPN Gateway. 28 Changing this forces a new resource to be created. 29 30 ## Attributes Reference 31 32 The following attributes are exported: 33 34 * `id` - The ID of the VPN Gateway. 35 * `public_ip` - The public IP address associated with the VPN Gateway.