You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
While updating from 0.8 to 0.9 I faced an issue with some of my rules. When I use a missing filter in a policy deployed on a lambda function.
To Reproduce
Deploy the Lambda function and create an ACM certificate, then delete it
you can find the error of the lambda function in cloudwatch
Expected behavior
The lambda function has a correct execution.
Background (please complete the following information):
[ERROR] RuntimeError: missing jsonschema dependency
Traceback (most recent call last):
File "/var/task/custodian_policy.py", line 4, in run
return handler.dispatch_event(event, context)
File "/var/task/c7n/handler.py", line 175, in dispatch_event
p.validate()
File "/var/task/c7n/policy.py", line 1047, in validate
f.validate()
File "/var/task/c7n/filters/missing.py", line 49, in validate
collection = PolicyLoader(
File "/var/task/c7n/loader.py", line 136, in load_data
errors = self.validator.validate(policy_data, tuple(rtypes))
File "/var/task/c7n/loader.py", line 47, in validate
self.gen_schema(tuple(sorted(resource_types)))
File "/var/task/c7n/loader.py", line 74, in gen_schema
self.validator = v = self._gen_schema(resource_types)
File "/var/task/c7n/loader.py", line 82, in _gen_schema
raise RuntimeError("missing jsonschema dependency")
The text was updated successfully, but these errors were encountered:
Describe the bug
While updating from 0.8 to 0.9 I faced an issue with some of my rules. When I use a missing filter in a policy deployed on a lambda function.
To Reproduce
Deploy the Lambda function and create an ACM certificate, then delete it
you can find the error of the lambda function in cloudwatch
Expected behavior
The lambda function has a correct execution.
Background (please complete the following information):
The text was updated successfully, but these errors were encountered: