Pulumi deployment commands accept --override-env
Introduced 2026-07-23 · score 0.96
HOW TO USE IT
When a Pulumi run needs different imported environments, use `--override-env` with `up`, `preview`, `destroy`, or `refresh`; the flag substitutes environments for one run without editing stack config. The official docs found do not document the flag’s syntax or value format.
WHY THIS HELPS
Run an up, preview, destroy, or refresh with imported environments substituted for a single run.
REQUIREMENTS AND LIMITATIONS
- Version: 3.254.0
- --override-env: Substitutes imported environments for a single run; the required value format is not documented on the official pages found.
- The substitution applies to a single run.
- Stack config is not edited.
FIRST-PARTY EVIDENCE
Check the installed version and the source before using it. Entry JSON