Created
September 24, 2022 10:01
-
-
Save viggin543/fcf344c8a728428751d1a3ac64a1f5ff to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resource "google_compute_backend_bucket" "foo_backend" { | |
name = "foo-backend-bucket" | |
description = "FOO frontend" | |
custom_response_headers = ["X-foo: bar"] | |
bucket_name = google_storage_bucket.editor.name | |
enable_cdn = true | |
edge_security_policy = google_compute_security_policy.waf-security-policy.id | |
cdn_policy { | |
serve_while_stale = 86400 | |
client_ttl = 60 | |
default_ttl = 60 | |
request_coalescing = true | |
cache_mode = "CACHE_ALL_STATIC" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment