github.com/chalford/terraform@v0.3.7-0.20150113080010-a78c69a8c81f/website/source/docs/providers/aws/r/internet_gateway.html.markdown (about)

     1  ---
     2  layout: "aws"
     3  page_title: "AWS: aws_internet_gateway"
     4  sidebar_current: "docs-aws-resource-internet-gateway"
     5  description: |-
     6    Provides a resource to create a VPC Internet Gateway.
     7  ---
     8  
     9  # aws\_internet\_gateway
    10  
    11  Provides a resource to create a VPC Internet Gateway.
    12  
    13  ## Example Usage
    14  
    15  ```
    16  resource "aws_internet_gateway" "gw" {
    17      vpc_id = "${aws_vpc.main.id}"
    18  }
    19  ```
    20  
    21  ## Argument Reference
    22  
    23  The following arguments are supported:
    24  
    25  * `vpc_id` - (Required) The VPC ID to create in.
    26  
    27  ## Attributes Reference
    28  
    29  The following attributes are exported:
    30  
    31  * `id` - The ID of the Internet Gateway.
    32