-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for lambda layers and how to adjust environment/handler? #7635
Comments
yeah.. the environment handling in the policy is a little obtuse to specify, its a nested mapping with environment:
Variables:
key: value we should probably support both a mapping or the nested mapping, the extant nested mapping was for a pass through to the api, but its definitely on the non obvious. |
@kapilt Thx for your answer! Great stuff! Do you also have a solution for the handler? Is it defined under |
@kapilt I guess you've hardcoded the You never thought about having a different entrypoint when using layers and extensions? |
Closed via #7652 |
Discussed in https://github.com/orgs/cloud-custodian/discussions/7633
Found a closed issue:
#4334
At the moment I am struggling with the environment and the handler of my lambdas.
For datadog I have to modify a few things:
The environment block throws the following error:
And the handler property is not supported at all...
The text was updated successfully, but these errors were encountered: