pulumi config env list supports --output
Introduced 2026-07-01 · score 0.92
HOW TO USE IT
When a script lists environments imported into a stack’s configuration, run `pulumi config env list --output <format>` to select the output format.
pulumi config env list --output jsonWHY THIS HELPS
When listing config environments in a script, request output in the needed format.
REQUIREMENTS AND LIMITATIONS
- Version: 3.249.0
- --output <format>: Select output format: `default` or `json`; defaults to `default`.
- Prerequisite: The `--output` flag was added in Pulumi CLI v3.249.0.
FIRST-PARTY EVIDENCE
- https://github.com/pulumi/pulumi/releases/tag/v3.249.0
- https://www.pulumi.com/docs/iac/cli/commands/pulumi_config_env_list/
Check the installed version and the source before using it. Entry JSON