terraform/website/source/docs/providers/aws/r/internet_gateway.html.markdown

31 lines
520 B
Markdown
Raw Normal View History

2014-07-23 23:41:48 +02:00
---
layout: "aws"
page_title: "AWS: aws_internet_gateway"
sidebar_current: "docs-aws-resource-internet-gateway"
---
# aws\_internet\_gateway
Provides a resource to create a VPC Internet Gateway.
## Example Usage
```
resource "aws_internet_gateway" "gw" {
vpc_id = "${aws_vpc.main.id}"
}
```
## Argument Reference
The following arguments are supported:
* `vpc_id` - (Required) The VPC ID to create in.
## Attributes Reference
The following attributes are exported:
* `id` - The ID of the Internet Gateway.