Skip to content

Commit edaed1f

Browse files
committed
Merge pull request hashicorp#966 from TimeInc/ig-tags-docs
Add docs for AWS IG tags
2 parents 625f440 + 3366f19 commit edaed1f

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ Provides a resource to create a VPC Internet Gateway.
1515
```
1616
resource "aws_internet_gateway" "gw" {
1717
vpc_id = "${aws_vpc.main.id}"
18+
19+
tags {
20+
Name = "main"
21+
}
1822
}
1923
```
2024

@@ -23,6 +27,7 @@ resource "aws_internet_gateway" "gw" {
2327
The following arguments are supported:
2428

2529
* `vpc_id` - (Required) The VPC ID to create in.
30+
* `tags` - (Optional) A mapping of tags to assign to the resource.
2631

2732
## Attributes Reference
2833

0 commit comments

Comments
 (0)