Files
opentf/website/source/docs/providers/cloudstack/r/vpn_connection.html.markdown
Sander van Harmelen 815c8840a7 Refactor the use of names vs IDs for parameters referencing other TF resources
We have a curtesy function in place allowing you to specify both a
`name` of `ID`. But in order for the graph to be build correctly when
you recreate or taint stuff that other resources depend on, we need to
reference the `ID` and *not* the `name`.

So in order to enforce this and by that help people to not make this
mistake unknowingly, I deprecated all the parameters this allies to and
changed the logic, docs and tests accordingly.
2016-04-11 17:14:28 +02:00

1.1 KiB

layout, page_title, sidebar_current, description
layout page_title sidebar_current description
cloudstack CloudStack: cloudstack_vpn_connection docs-cloudstack-resource-vpn-connection 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" {
    customer_gateway_id = "8dab9381-ae73-48b8-9a3d-c460933ef5f7"
    vpn_gateway_id = "a7900060-f8a8-44eb-be15-ea54cf499703"
}

Argument Reference

The following arguments are supported:

  • customer_gateway_id - (Required) The Customer Gateway ID to connect. Changing this forces a new resource to be created.

  • customergatewayid - (Required, Deprecated) The Customer Gateway ID to connect. Changing this forces a new resource to be created.

  • vpn_gateway_id - (Required) The VPN Gateway ID to connect. Changing this forces a new resource to be created.

  • vpngatewayid - (Required, Deprecated) The VPN Gateway ID to connect. Changing this forces a new resource to be created.

Attributes Reference

The following attributes are exported:

  • id - The ID of the VPN Connection.