Pulumi's Policy as Code SDK, CrossGuard. Define infrastructure checks in code to enforce security, compliance, cost, and other practices, enforced at deployment time.
If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)
Issue details
Currently, the policy engine uses the default python version set on the machine where it is running, or one can set PULUMI_PYTHON_CMD to point at the python command to use.
It would be useful to be able to specify the python version to use as part of the policy pack configuration - say in the PulumiPolicy.yaml file.
How exactly do we envision this working? We have a way of specifying the version (or min version) of Python to use and if the version of Python we're going to use doesn't match, we error?
Hello!
Issue details
Currently, the policy engine uses the default python version set on the machine where it is running, or one can set
PULUMI_PYTHON_CMD
to point at the python command to use. It would be useful to be able to specify the python version to use as part of the policy pack configuration - say in thePulumiPolicy.yaml
file.Affected area/feature
Python policies