FEATURES OPEN SOURCE ABOUT DOCS LOGIN REGISTER

aws_vpn_gateway

Provides a resource to create a VPC VPN Gateway.

Example Usage

resource "aws_vpn_gateway" "vpn_gw" {
    vpc_id = "${aws_vpc.main.id}"

    tags {
        Name = "main"
    }
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Import

VPN Gateways can be imported using the vpn gateway id, e.g.

$ terraform import aws_vpn_gateway.testvpngateway vgw-9a4cacf3

See the source of this document at Terraform.io