github.com/armen/terraform@v0.5.2-0.20150529052519-caa8117a08f1/website/source/docs/providers/cloudstack/r/vpn_customer_gateway.html.markdown (about)

     1  ---
     2  layout: "cloudstack"
     3  page_title: "CloudStack: cloudstack_vpn_customer_gateway"
     4  sidebar_current: "docs-cloudstack-resource-vpn-customer-gateway"
     5  description: |-
     6    Creates a site to site VPN local customer gateway.
     7  ---
     8  
     9  # cloudstack\_vpn\_customer\_gateway
    10  
    11  Creates a site to site VPN local customer gateway.
    12  
    13  ## Example Usage
    14  
    15  Basic usage:
    16  
    17  ```
    18  resource "cloudstack_vpn_customer_gateway" "default" {
    19      name = "test-vpc"
    20      cidr = "10.0.0.0/8"
    21      esp_policy = "aes256-sha1"
    22      gateway = "192.168.0.1"
    23      ike_policy = "aes256-sha1"
    24      ipsec_psk = "terraform"
    25  }
    26  ```
    27  
    28  ## Argument Reference
    29  
    30  The following arguments are supported:
    31  
    32  * `name` - (Required) The name of the VPN Customer Gateway.
    33  
    34  * `cidr` - (Required) The CIDR block that needs to be routed through this gateway.
    35  
    36  * `esp_policy` - (Required) The ESP policy to use for this VPN Customer Gateway.
    37  
    38  * `gateway` - (Required) The public IP address of the related VPN Gateway.
    39  
    40  * `ike_policy` - (Required) The IKE policy to use for this VPN Customer Gateway.
    41  
    42  * `ipsec_psk` - (Required) The IPSEC pre-shared key used for this gateway.
    43  
    44  * `dpd` - (Optional) If DPD is enabled for the related VPN connection (defaults false)
    45  
    46  * `esp_lifetime` - (Optional) The ESP lifetime of phase 2 VPN connection to this
    47      VPN Customer Gateway in seconds (defaults 86400)
    48  
    49  * `ike_lifetime` - (Optional) The IKE lifetime of phase 2 VPN connection to this
    50      VPN Customer Gateway in seconds (defaults 86400)
    51  
    52  ## Attributes Reference
    53  
    54  The following attributes are exported:
    55  
    56  * `id` - The ID of the VPN Customer Gateway.
    57  * `dpd` - Enable or disable DPD is enabled for the related VPN connection.
    58  * `esp_lifetime` - The ESP lifetime of phase 2 VPN connection to this VPN Customer Gateway.
    59  * `ike_lifetime` - The IKE lifetime of phase 2 VPN connection to this VPN Customer Gateway.