Skip to content

Commit

Permalink
Fix: Service responses are not compressed (#6360)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsotirho-ucsc committed Jul 16, 2024
1 parent 30df469 commit 9f1ddf6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/azul/terraform.py
Original file line number Diff line number Diff line change
Expand Up @@ -790,7 +790,11 @@ def tf_config(self, app_name):
stage_name, config.deployment_stage)
del deployment['lifecycle']['create_before_destroy']
assert not deployment['lifecycle'], deployment
del deployment['lifecycle']
deployment['lifecycle'] = {
'replace_triggered_by': [
'aws_api_gateway_rest_api.%s' % app_name
]
}
deployment['triggers'] = {'redeployment': deployment.pop('stage_description')}

return {
Expand Down

0 comments on commit 9f1ddf6

Please sign in to comment.