From 4a8021ff8e0a71301a9f7b26e7745bef1e50d2a1 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 8 Oct 2014 23:46:36 -0700 Subject: [PATCH] website: update docs for tags on VPC --- .../source/docs/providers/aws/r/vpc.html.markdown | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/website/source/docs/providers/aws/r/vpc.html.markdown b/website/source/docs/providers/aws/r/vpc.html.markdown index 8104c2d654..5955c401b7 100644 --- a/website/source/docs/providers/aws/r/vpc.html.markdown +++ b/website/source/docs/providers/aws/r/vpc.html.markdown @@ -10,12 +10,26 @@ Provides an VPC resource. ## Example Usage +Basic usage: + ``` resource "aws_vpc" "main" { cidr_block = "10.0.0.0/16" } ``` +Basic usage with tags: + +``` +resource "aws_vpc" "main" { + cidr_block = "10.0.0.0/16" + + tags { + Name = "main" + } +} +``` + ## Argument Reference The following arguments are supported: @@ -23,6 +37,7 @@ The following arguments are supported: * `cidr_block` - (Required) The CIDR block for the VPC. * `enable_dns_support` - (Optional) A boolean flag to enable/disable DNS support in the VPC. Defaults true. * `enable_dns_hostnames` - (Optional) A boolean flag to enable/disable DNS hostnames in the VPC. Defaults false. +* `tags` - (Optional) A mapping of tags to assign to the resource. ## Attributes Reference