Giter VIP home page Giter VIP logo

Comments (5)

lukehoban avatar lukehoban commented on June 27, 2024 8

Does pulumi refresh help in this case?

Is the scenario that the InternetGateway (or other resource) is manually deleted from AWS behind the scenes? If so, curious what is the desired/suggested behaviour in this case?

from pulumi-eks.

lukehoban avatar lukehoban commented on June 27, 2024 3

I'm going to close this out - as I believe the original issue is expected, and requires that the user do pulumi refresh or pulumi state delete to reconcile their checkpoint with the cloud provider prior to pulumi destroy.

pulumi/pulumi#2247 is tracking doing a refresh automatically prior to preview/update/destroy. That would be the only thing that could fundamentally "solve" the original issue here.

The other issues referenced along the way sound like unrelated potential bugs, but there are not details on repro steps for those here. Let's open new issues on those if needed.

from pulumi-eks.

naineel avatar naineel commented on June 27, 2024 2

+1 got bitten by this

from pulumi-eks.

clstokes avatar clstokes commented on June 27, 2024

I got an EKS cluster into a similar status and also hit this that I can't destroy when resources can't be found. A refresh also fails.

Full refresh output - https://gist.github.com/clstokes/e7eb00ae363e9a1974ee5be3679b9944

from pulumi-eks.

lukehoban avatar lukehoban commented on June 27, 2024

In @clstokes' repo, the fact that pulumi refresh fails due to the cluster being unavailable seems like a separate bug we should open and track. Ideally this would not cause a failure - ideally the refresh would warn on these instead of failing.

I assume that the original issue here should be solved by pulumi refresh and that anything that prevents refresh from working here is a bug in refresh. With our current model of not running refresh implicitly, it will be the case that when resources are deleted manually behind the scenes, it will in general be necessary to run pulumi refresh to reconcile those changes into Pulumi.

from pulumi-eks.

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.