Skip to content

Commit

Permalink
fixup! Fix: Service responses are not compressed (#6360)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsotirho-ucsc committed Aug 2, 2024
1 parent 55a97dd commit a2ae7b7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/azul/terraform.py
Original file line number Diff line number Diff line change
Expand Up @@ -798,6 +798,8 @@ def tf_config(self, app_name):
# specification lets us avoid maintaining a complicated trigger
# dependency between Terraform resources.
#
rest_api = resources['aws_api_gateway_rest_api'][app_name]
assert 'minimum_compression_size' not in rest_api, rest_api.keys()
openapi_spec = json.loads(locals[app_name])
key = 'x-amazon-apigateway-minimum-compression-size'
openapi_spec[key] = config.minimum_compression_size
Expand Down

0 comments on commit a2ae7b7

Please sign in to comment.