pulumi / pulumi-policy

Pulumi's Policy as Code SDK, CrossGuard. Define infrastructure checks in code to enforce security, compliance, cost, and other practices, enforced at deployment time.
https://www.pulumi.com/docs/guides/crossguard/
Apache License 2.0
34 stars 5 forks source link

Python: Fix lint issue #331

Closed justinvp closed 8 months ago

justinvp commented 8 months ago

Fix the following lint issue:

lib/pulumi_policy/policy.py:1038: error: Argument "enforcementLevel" to "AnalyzeDiagnostic" has incompatible type "int"; expected "ValueType"  [arg-type]

Note: This points out that we're missing a daily cron in this repro to catch these things sooner (#203)

Fixes #330