github.com/turtlemonvh/terraform@v0.6.9-0.20151204001754-8e40b6b855e8/website/source/docs/providers/aws/r/vpn_gateway.html.markdown (about)

     1  ---
     2  layout: "aws"
     3  page_title: "AWS: aws_vpn_gateway"
     4  sidebar_current: "docs-aws-resource-vpn-gateway"
     5  description: |-
     6    Provides a resource to create a VPC VPN Gateway.
     7  ---
     8  
     9  # aws\_vpn\_gateway
    10  
    11  Provides a resource to create a VPC VPN Gateway.
    12  
    13  ## Example Usage
    14  
    15  ```
    16  resource "aws_vpn_gateway" "vpn_gw" {
    17      vpc_id = "${aws_vpc.main.id}"
    18  
    19      tags {
    20          Name = "main"
    21      }
    22  }
    23  ```
    24  
    25  ## Argument Reference
    26  
    27  The following arguments are supported:
    28  
    29  * `vpc_id` - (Optional) The VPC ID to create in.
    30  * `availability_zone` - (Optional) The Availability Zone for the virtual private gateway.
    31  * `tags` - (Optional) A mapping of tags to assign to the resource.
    32  
    33  ## Attributes Reference
    34  
    35  The following attributes are exported:
    36  
    37  * `id` - The ID of the VPN Gateway.
    38