You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)
Issue details
Consider renaming --save-plan to --plan-out so it sorts with "plan", or possibly just --out if we don't expect preview to output anything else.
It's not clear what extension to use for plan files. Should we say it's JSON in the help text?
Should pulumi up --plan x.json indicate somehow that it's using the plan file?
It's might feel odd that pulumi up still runs a preview with a plan file. Again should we change the cli text to make it clear that the plan is being validated? Something like rather than "Previewing update (dev)" it can say "Applying plan (dev)", "Validating plan (dev)", or something?
Related to above should it explicitly say, "Update preview verified to be consistent with plan x.json" or something.
Should the cli print that it's generated and used a plan as part of pulumi up when no explicit plan has been passed in.
Do we need an option to turn the auto planning off? --no-plan?
Some error messages are not consistent:
"error: resource X violates plan: properties changed: …"
"error: create is not allowed by the plan: no steps were expected for this resource"
First error has URN, second does not; first says "violates plan", second says "not allowed by plan"; perhaps just:
"error: resource X violates plan: properties changed: …"
"error: resource X violates plan: create not allowed, no steps were expected for this resource"
IOW, always prefix with "resource X violates plan."
Print a message with a link to more info about update plans when constraints fail. Something like "If you are seeing this, it means something changed between your preview and plan, or there is non-determinism in your Pulumi program. Read more here: https://pulumi.com/"
The text was updated successfully, but these errors were encountered:
Hello!
Issue details
--save-plan
to--plan-out
so it sorts with "plan", or possibly just--out
if we don't expectpreview
to output anything else.pulumi up --plan x.json
indicate somehow that it's using the plan file?pulumi up
still runs a preview with a plan file. Again should we change the cli text to make it clear that the plan is being validated? Something like rather than "Previewing update (dev)" it can say "Applying plan (dev)", "Validating plan (dev)", or something?pulumi up
when no explicit plan has been passed in.--no-plan
?"error: resource X violates plan: properties changed: …"
"error: create is not allowed by the plan: no steps were expected for this resource"
First error has URN, second does not; first says "violates plan", second says "not allowed by plan"; perhaps just:
"error: resource X violates plan: properties changed: …"
"error: resource X violates plan: create not allowed, no steps were expected for this resource"
IOW, always prefix with "resource X violates plan."
The text was updated successfully, but these errors were encountered: