Python policy packs produce error when using verbose logging #350
Labels
kind/bug
Some behavior is incorrect or out of spec
needs-triage
Needs attention from the triage team
resolution/duplicate
This issue is a duplicate of another issue
What happened?
I have a basic pulumi program with a python policy: https://github.com/pierskarsenbarg/policy-pack-logging-bug
I published the pack to the Demo org in Pulumi cloud and added the above stack to a policy group.
When I run either a preview or an update with logging turned on (i.e.
pulumi up --logtostderr --logflow -v=10 2> out.txt
) I get the following error:(it looks like the
-v=10
is being added to the file path for the policy pack)Example
See above
Output of
pulumi about
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: