We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88ea88c commit 72b6f14Copy full SHA for 72b6f14
aws_lambda/aws_lambda.py
@@ -303,6 +303,13 @@ def create_function(cfg, path_to_zip_file):
303
Description=cfg.get('description'),
304
Timeout=cfg.get('timeout', 15),
305
MemorySize=cfg.get('memory_size', 512),
306
+ Environment={
307
+ 'Variables': {
308
+ key.strip('LAMBDA_'): value
309
+ for key, value in os.envinron.items()
310
+ if key.startswith('LAMBDA_')
311
+ }
312
+ },
313
Publish=True
314
)
315
0 commit comments