ec2.WaitUntilPasswordDataAvailableWithContext never works (always returns ResourceNotReady) #2865
Closed
3 tasks done
Labels
feature-request
A feature should be added or improved.
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
Calling ec2.WaitUntilPasswordDataAvailableWithContext always exceeds the timeout and returns ResourceNotReady, even when the instance's password data is ready and available
Version of AWS SDK for Go?
v1.33.5
Version of Go (
go version
)?go1.14.2 darwin/amd64
To Reproduce (observed behavior)
Launch a new Windows EC2 t2.micro instance in the us-east-1 region, providing a key-pair. I used AMI ID ami-05bb2dae0b1de90b3. Wait until the instance is running and verify its password data is available in the AWS Management Console via the "Connect" button, then the "Get Password" button.
Run the following code
Expected behavior
I expect the waiter to return almost immediately, as it's clear the instance's password data does exist.
Additional context
Nothing to add
The text was updated successfully, but these errors were encountered: