Add note to Intergent Gateway resource on using depends_on

This commit is contained in:
Clint Shryock 2015-03-13 15:39:17 -05:00
parent 670d22e18f
commit 2d62e55b0e
1 changed files with 5 additions and 0 deletions

View File

@ -29,6 +29,11 @@ The following arguments are supported:
* `vpc_id` - (Required) The VPC ID to create in.
* `tags` - (Optional) A mapping of tags to assign to the resource.
-> **Note:** When using Internet Gateways with AWS Instances or Elastic IPs,
it is recommended to denote that they depend on the Internet Gateway created,
via the `depends_on` attribute:
`depends_on = ["aws_internet_gateway.gw"]`.
## Attributes Reference
The following attributes are exported: