Files
opentf/website/source/docs/providers/aws/r/vpn_gateway.html.markdown
Christopher Tiwald 46296db9dc docs: vpn_gateway vpc_ids are optional, not required.
This is simply a mistake in the documentation. The code already leaves
this as optional.
2015-04-30 10:39:56 -04:00

758 B

layout, page_title, sidebar_current, description
layout page_title sidebar_current description
aws AWS: aws_vpn_gateway docs-aws-resource-vpn-gateway Provides a resource to create a VPC VPN Gateway.

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:

  • vpc_id - (Optional) The VPC ID to create in.
  • availability_zone - (Optional) The Availability Zone for the virtual private gateway.
  • tags - (Optional) A mapping of tags to assign to the resource.

Attributes Reference

The following attributes are exported:

  • id - The ID of the VPN Gateway.