You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From the documentation, rs.Attributes["vpc"] should be the VPC ID from AWS and not a boolean value. Running the code as is with the VPC ID from AWS throws the following error:
1 error(s) occurred:
* Failure associating instances: You must specify an allocation id when mapping an address to a VPC instance (InvalidParameterCombination)
Changing the value to "true" in my .tf file fixes the problem, but that is not consistent with the documentation.
Also the example in the documentation should use ${aws_instance.web.id} instead of ${aws_instance.web.instance_id}.
I see there has been pretty recent work on this file, so maybe the documentation will change between now and the finished tool. But as it stands either the documentation or the code should be changed.
The text was updated successfully, but these errors were encountered:
According to the documentation at http://www.terraform.io/docs/providers/aws/r/eip.html, the following code that is present in file: builtin/providers/aws/resource_aws_eip.go, in commit: ebd50ab assumes the wrong type of value:
From the documentation, rs.Attributes["vpc"] should be the VPC ID from AWS and not a boolean value. Running the code as is with the VPC ID from AWS throws the following error:
Changing the value to "true" in my .tf file fixes the problem, but that is not consistent with the documentation.
Also the example in the documentation should use ${aws_instance.web.id} instead of ${aws_instance.web.instance_id}.
I see there has been pretty recent work on this file, so maybe the documentation will change between now and the finished tool. But as it stands either the documentation or the code should be changed.
The text was updated successfully, but these errors were encountered: