vpc aware aws api should be used for DescribeInstances
Bug #1394186 reported by
Michael Foord
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
goamz |
Fix Released
|
High
|
Dimiter Naydenov |
Bug Description
When you use the legacy aws api version (the default for most operations in goamz), the DescribeInstances response doesn't include secondary private ip addresses on the network interface. Switching to the more up to date "vpc aware" api version does include them.
Related branches
lp:~dimitern/goamz/update-aws-api-version-to-latest
- Michael Foord (community): Approve
- Martin Packman (community): Approve
-
Diff: 1025 lines (+180/-171)12 files modifiedec2/ec2.go (+24/-45)
ec2/ec2_test.go (+14/-11)
ec2/ec2i_test.go (+6/-6)
ec2/ec2t_test.go (+95/-76)
ec2/ec2test/server.go (+16/-12)
ec2/export_test.go (+0/-2)
ec2/networkinterfaces.go (+5/-5)
ec2/networkinterfaces_test.go (+7/-4)
ec2/privateips.go (+2/-2)
ec2/privateips_test.go (+5/-2)
ec2/subnets.go (+3/-3)
ec2/vpc.go (+3/-3)
Changed in goamz: | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Dimiter Naydenov (dimitern) |
To post a comment you must log in.
Fixed now when using gopkg.in/amz.v2