Giter Club home page Giter Club logo

Comments (7)

jasdel avatar jasdel commented on September 26, 2024 1

Thanks for brining this issue to our attention. we've merged in #102 which corrects this issue. Let us know if you run into any additional issues, or have feedback.

from aws-sdk-go-v2.

Doug-AWS avatar Doug-AWS commented on September 26, 2024

I just wrote an example for the developer guide, but don't have the text for the topic written yet. I tested it against the template S3_Website_Bucket_With_Retain_On_Delete.template, which I found at https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/sample-templates-services-us-west-2.html#w2ab2c23c48c13c33.

https://github.com/awsdocs/aws-doc-sdk-examples/blob/master/go/example_code/cloudformation/CfnCreateStack.go

from aws-sdk-go-v2.

jasdel avatar jasdel commented on September 26, 2024

Thanks for letting us know about this @michaeleekk. Do you know if this waiting method works correctly with the v1 sdk?

Also if you could enable logging by setting LogLevel in the service client or Config before the client is created. To aws.LogDebugWithHTTPBody. it will print the request and response to stdout. This will help debugging this issue a lot.

from aws-sdk-go-v2.

michaeleekk avatar michaeleekk commented on September 26, 2024

Thanks @Doug-AWS, but sadly I think that’s what I did.

@jasdel I can confirm that the exact same program works for v1. But the log level check, I think I could only do it next Monday. Will get back to this issue when I have more info.

from aws-sdk-go-v2.

robertojrojas avatar robertojrojas commented on September 26, 2024

I'm running into a similar issue with the method ec2Svc.WaitUntilInstanceStatusOk(...). It works well on v1, but on v2 waits until it the error ResourceNotReady: exceeded wait attempts is returned.

Here is a sample code to reproduce the issue.

main-v2.go.txt

Here is a sample log

aws-sdk-go-v2-issue-92.txt

from aws-sdk-go-v2.

jasdel avatar jasdel commented on September 26, 2024

Thanks for the sample code and log. I think i've identified the issue with the waiters. The Waiters are failing because of the typed enumerations adding are causing the reflection based type comparison to fail because a typed aliased string does not DeepEqual with a regular string.

from aws-sdk-go-v2.

jasdel avatar jasdel commented on September 26, 2024

I've put out PR #102 which corrects the SDK's behavior and no longer waits until a waiter expires.

from aws-sdk-go-v2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.