Git Product home page Git Product logo

Comments (9)

svenwltr avatar svenwltr commented on June 14, 2024

Can you give an example resource and region?

from aws-nuke.

tomvachon avatar tomvachon commented on June 14, 2024
ERRO[0025] Listing SNSPlatformApplication failed. Please report this to https://github.com/rebuy-de/aws-nuke/issues/new.
    !!! InvalidAction: Operation (ListPlatformApplications) is not supported in this region
    !!! 	status code: 400, request id: 9326e2f0-6aa6-5641-9cb5-b1dc325df7ce
ERRO[0047] Listing MQBroker failed. Please report this to https://github.com/rebuy-de/aws-nuke/issues/new.
    !!! RequestError: send request failed
    !!! caused by: Get https://mq.us-west-1.amazonaws.com/v1/brokers?maxResults=100: dial tcp: lookup mq.us-west-1.amazonaws.com: no such host

from aws-nuke.

svenwltr avatar svenwltr commented on June 14, 2024

Ok, this is because MQ does not have an endpoint entry at all:

rs, ok := endpoints.RegionsForService(endpoints.DefaultPartitions(), endpoints.AwsPartitionID, service)
if !ok {
// This means that the service does not exist and this shouldn't be handled here.
return
}

I don't know how we should handle this case.

from aws-nuke.

tomvachon avatar tomvachon commented on June 14, 2024

@svenwltr how about this?

  1. If we get back a nil return value branch to this logic
  2. Test DNS to see if the endpoint exists

from aws-nuke.

svenwltr avatar svenwltr commented on June 14, 2024

@rebuy-de/prp-aws-nuke Your opinions on this approach?

from aws-nuke.

bjoernhaeuser avatar bjoernhaeuser commented on June 14, 2024

Feels wrong to me to hack this together, imho a SDK thingy. But if they do not deliver that, the proposed solution sounds good to me.

from aws-nuke.

tomvachon avatar tomvachon commented on June 14, 2024

I agree @bjoernhaeuser this shouldnt ever be "hit" but its cleaner than how it is now. Maybe we could throw up a "Warning" when we hit this instead of silently passing it by? Something like:

WARN: Unable determine automatically endpoint for $SERVICE. DNS lookup failed for $SERVICE in $REGION --- SKIPPING SERVICE!

from aws-nuke.

svenwltr avatar svenwltr commented on June 14, 2024

Yes a warning is very important, because it could also appear on network issues.

from aws-nuke.

svenwltr avatar svenwltr commented on June 14, 2024

This problem should be fixed in v2.1.0-beta.1.

from aws-nuke.

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.