Skip to content
This repository has been archived by the owner on Jul 26, 2021. It is now read-only.

Latest commit

 

History

History
44 lines (30 loc) · 971 Bytes

vpn_gateway.html.markdown

File metadata and controls

44 lines (30 loc) · 971 Bytes
layout page_title sidebar_current description
cloudstack
CloudStack: cloudstack_vpn_gateway
docs-cloudstack-resource-vpn-gateway
Creates a site to site VPN local gateway.

cloudstack_vpn_gateway

Creates a site to site VPN local gateway.

Example Usage

Basic usage:

resource "cloudstack_vpn_gateway" "default" {
  vpc_id = "f8141e2f-4e7e-4c63-9362-986c908b7ea7"
}

Argument Reference

The following arguments are supported:

  • vpc_id - (Required) The ID of the VPC for which to create the VPN Gateway. 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.

Import

VPC gateways can be imported; use <VPN GATEWAY ID> as the import ID. For example:

terraform import cloudstack_vpn_gateway.default 49cf1821-3b9f-4627-be19-8a15ffec508d