-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose SSA patchForce option as an env var #2259
Comments
Got this working locally. I'll add this in a PR shortly.
|
@lblackstone do you have plans to add this option to the stack configs as well? Same as other proivder options, e.g. |
Would that be useful to you? My impression was that this option is mostly useful on a per-resource basis, so I wasn't planning to add a stack config. |
Hmm... good question. I've had situations where I had a lot of conflicts and it was tedious to add the annotation per resource, in those cases I thought to myself that a config option would be really useful. That way I know just from looking at the stack config that we're set to force patch on conflict without relying on an env var that might be not be set (depending on the machine running pulumi up) I guess it's a matter of preference, I prefer explicitly setting things in the stack config instead of relaying implicitly on the running environment. That way the entire project is self contained without any external arguments. |
That makes sense. I'll open another issue to track that request. |
Hello!
Issue details
There are quite a few cases where patchForce is needed as a one-time change, but not something that users want to leave on permanently for a resource. This behavior is currently enabled by setting an annotation.
We should consider exposing the same behavior through an environment variable to allow one-time updates more easily.
Affected area/feature
The text was updated successfully, but these errors were encountered: