Skip to content

Commit

Permalink
Add user_tags to lambda backend (#1393)
Browse files Browse the repository at this point in the history
  • Loading branch information
thodson-usgs authored Aug 30, 2024
1 parent a195c58 commit 9761f1b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lithops/serverless/backends/aws_lambda/aws_lambda.py
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,8 @@ def _deploy_container_runtime(self, runtime_name, memory, timeout):
],
Tags={
'runtime_name': runtime_name,
'lithops_version': __version__
'lithops_version': __version__,
**self.lambda_config.get('user_tags'),
},
Architectures=[self.lambda_config['architecture']],
EphemeralStorage={
Expand Down
1 change: 1 addition & 0 deletions lithops/serverless/backends/aws_lambda/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
'architecture': 'x86_64',
'ephemeral_storage': 512,
'env_vars': {},
'user_tags': {},
'vpc': {'subnets': [], 'security_groups': []},
'efs': []
}
Expand Down

0 comments on commit 9761f1b

Please sign in to comment.