Comments (2)
What concrete problem does this end up causing?
The design for this is that if the resource is deleted but has not yet been recreated, then it will be recreated by the next update (assuming it still exists). Once it has been deleted it should no longer be in the state file, so the state transition should be from no resource to a new resource.
from pulumi.
In some sense this is a subset of --continue-on-error
(which we may decide is enough for this use case). Namely:
- You are performing an update which involves
A
(delete-before-replace) andB
(does not matter) A
's delete completesB
throws an error- The program terminates due to
B
's error beforeA
's create/replace happens (which would succeed) - You have downtime because
A
was deleted but not replaced
Here, you could either use --continue-on-error
(ignore all errors), or argue that we make delete-before-replaces (or perhaps all chains not involved in an error) atomic/complete before the error terminates the program. Hope that makes sense (again, it might be that we don't pursue this and advise use of --continue-on-error
, though in my mind there are distinct use cases).
from pulumi.
Related Issues (20)
- Strange Runtime Error with pulumi azure native HOT 1
- Snapshot integrity issues with --continue-on-error HOT 1
- Another panic in CLI processIgnoreChanges HOT 1
- Update/delete/replace DNS Zone recordset does not work TypeScript
- Stack trace coming from Policy Pack should be displayed.
- Document the Python SDK's implementation of `Output.__getattr__`
- Reject schemata that contain properties beginning with underscores
- `pulumi.ResourceTransformArgs` does not expose all resource properties HOT 3
- Audit all the places in the codebase where we look at deps and collapse them to a helper function
- Parameterized providers do not support datasources HOT 1
- Emit warning when using old transformations APIs with MLCs
- Deprecate the old transformations APIs
- Move `pulumi package {get-sdk,get-sdk}` into `pulumi schema` HOT 1
- Add `pulumi package use` to wrap consumption of parameterized providers
- [Go SDK] Transform API should accept an Output for the returned property map HOT 1
- Parameterization passed in `CheckConfig`'s input with normal configuration HOT 3
- When import bucket , error: anonymous.pp:27,12-20: undefined variable provider; HOT 2
- Workflow failure: Download Pulumi Cron HOT 5
- Respect replaceOnChanges when calculating dependent replacements of DBRs HOT 1
- Improve config.get_int/str/... types with overloads HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pulumi.