Skip to content

Commit

Permalink
feat(terraform): Enable automatic compression
Browse files Browse the repository at this point in the history
Enables automatic compression for backend buckets.
  • Loading branch information
langri-sha committed Jun 20, 2024
1 parent 5bacfc0 commit 7b0dd64
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions terraform/web/traffic.tf
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ resource "google_compute_backend_bucket" "public" {
project = module.project["edge"].project_id

bucket_name = google_storage_bucket.public[each.value].name
compression_mode = "AUTOMATIC"
enable_cdn = true

custom_response_headers = [
Expand Down

0 comments on commit 7b0dd64

Please sign in to comment.