Pulumi CLI reads requiredPulumiVersion from Pulumi.yaml
Introduced 2026-02-05 · score 0.92
HOW TO USE IT
When a project requires a particular Pulumi CLI version range, add the optional `requiredPulumiVersion` key to its `Pulumi.yaml` with a semantic version range, such as `">=3.0.0"`.
name: <project-name>
runtime: <runtime>
requiredPulumiVersion: ">=3.0.0"WHY THIS HELPS
Set a required Pulumi version for a project when configuring its Pulumi.yaml.
REQUIREMENTS AND LIMITATIONS
- Version: v3.219.0
- requiredPulumiVersion: Version range of the Pulumi CLI required by the project; uses semantic version range syntax.
FIRST-PARTY EVIDENCE
- https://github.com/pulumi/pulumi/releases/tag/v3.219.0
- https://www.pulumi.com/docs/iac/concepts/projects/project-file/
Check the installed version and the source before using it. Entry JSON