-
Notifications
You must be signed in to change notification settings - Fork 9.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error retreiving EIP from AWS on v0.4.2 #1696
Comments
@geofffranks , I ran into this while implementing #1468 and resolved it on the related PR. I believe the switch to the official AWS SDK caused this. The goamz library would ignore empty values provided to requests but aws-sdk-go prefers that those values be omitted instead. |
This bug still exists as of 0.5.0-dev 3d36779 |
As we've seen elsewhere, the SDK now wants nils instead of empty arrays for collections fixes #1696 thanks @jstremick for pointing me in the right direction
Updated to 764bdbc in master and this is fixed, thanks! |
Confirmed fixed on my end too, thanks! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
When I try to do a terraform refresh of an already deployed AWS VPC, using binaries built off of the v0.4.2 tag (or later commits), I get the following error:
{code}
Error refreshing state: 1 error(s) occurred:
Error retrieving EIP: InvalidParameterValue: Invalid value '' for PublicIp. Not a valid IPv4 address.
{code}
However, if I use the released v0.4.2 binaries, this problem does not occur. Am I doing something stupid? I'm trying to get the rep-built terraform to work, so I can test out the f-aws-security-group-rule-resource branch.
The text was updated successfully, but these errors were encountered: