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 b177ed9 commit 1de4271Copy full SHA for 1de4271
src/azul/terraform.py
@@ -708,6 +708,10 @@ def tf_config(self, app_name):
708
for resource in resources['aws_lambda_function'].values():
709
assert 'layers' not in resource
710
resource['layers'] = ['${aws_lambda_layer_version.dependencies.arn}']
711
+ # Publishing the Lambda function as a new version prevents possible
712
+ # race conditions when an update to the function's configuration and
713
+ # code rely on the update of each other in order to work correctly.
714
+ resource['publish'] = True
715
env = config.es_endpoint_env(
716
es_endpoint=(
717
aws.es_endpoint
0 commit comments