Skip to content

Commit 1172ce8

Browse files
authored
Merge pull request nficano#88 from themooer1/patch-1
Strong cast environment variables to type string
2 parents 6e74eac + ea8cbdc commit 1172ce8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aws_lambda/aws_lambda.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ def update_function(cfg, path_to_zip_file, *use_s3, **s3_file):
585585
kwargs.update(
586586
Environment={
587587
'Variables': {
588-
key: get_environment_variable_value(value)
588+
key: str(get_environment_variable_value(value))
589589
for key, value
590590
in cfg.get('environment_variables').items()
591591
},

0 commit comments

Comments
 (0)