Running instance with pre-created NIC with DeviceIndex: 0 fails with API error #1178
Closed
3 tasks done
Labels
bug
This issue is a bug.
service-api
This issue is due to a problem in a service API, not the SDK implementation.
Confirm by changing [ ] to [x] below to ensure that it's a bug:
Describe the bug
Running instance with pre-created network interface and
DeviceIndex
of0
results in API error:api error InvalidParameterValue: Each network interface requires a device index.
It seems0
is treated as an empty value even though it is valid.In
sdk-v1
it was pointer and we usedDeviceIndex: aws.Int64(0)
which worked perfectly fine.Version of AWS SDK for Go?
aws-sdk-go-v2/1.2.1
Version of Go (
go version
)?go/1.16
To Reproduce (observed behavior)
Expected behavior
The instance should be able to start.
The text was updated successfully, but these errors were encountered: