sincecutoff.com
← all changes

pulumi policy new accepts --runtime-options

Introduced 2026-07-23 · score 0.93

HOW TO USE IT

When creating a policy pack with runtime-specific settings, run `pulumi policy new` with `--runtime-options` and comma-separated `key=value` options.

pulumi policy new aws-python --runtime-options toolchain=uv
pulumi policy new <template> --runtime-options <key1>=<value1>,<key2>=<value2>

WHY THIS HELPS

Create a Pulumi policy pack with runtime options.

REQUIREMENTS AND LIMITATIONS

  • Version: 3.254.0
  • template: Template name or URL; if omitted, suggested templates are shown interactively.
  • --runtime-options: Additional language runtime options, formatted as comma-separated `key=value` pairs. The docs do not enumerate allowed keys or values.
  • Prerequisite: Use Pulumi CLI v3.254.0 or later for this flag.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card