From 6aeda8db96cae5c46019715a02a3ba73afdb22e9 Mon Sep 17 00:00:00 2001 From: Jack Pearkes Date: Tue, 29 Jul 2014 18:12:00 -0400 Subject: [PATCH] website: fix EIP VPC docs close #91 --- website/source/docs/providers/aws/r/eip.html.markdown | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/website/source/docs/providers/aws/r/eip.html.markdown b/website/source/docs/providers/aws/r/eip.html.markdown index a016ae8ca..458d1e78a 100644 --- a/website/source/docs/providers/aws/r/eip.html.markdown +++ b/website/source/docs/providers/aws/r/eip.html.markdown @@ -12,7 +12,8 @@ Provides an Elastic IP resource. ``` resource "aws_eip" "lb" { - instance = "${aws_instance.web.instance_id}" + instance = "${aws_instance.web.id}" + vpc = true } ``` @@ -20,7 +21,7 @@ resource "aws_eip" "lb" { The following arguments are supported: -* `vpc` - (Optional) VPC ID +* `vpc` - (Optional) Boolean if the EIP is in a VPC or not. * `instance` - (Optional) EC2 instance ID. ## Attributes Reference