Skip to content

Commit

Permalink
TF: Set existing security policy for Bitcoin Mainnet
Browse files Browse the repository at this point in the history
  • Loading branch information
nitramiz committed Jan 8, 2024
1 parent 261137d commit 956c74f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions terraform/modules/daemon/network.tf
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ resource "google_compute_backend_service" "daemon" {
port_name = "http"
timeout_sec = 3600
enable_cdn = true

security_policy = var.name == "bitcoin-mainnet" ? "https://www.googleapis.com/compute/v1/projects/${var.project}/global/securityPolicies/esplora-block-rule" : "" # TODO: add to TF

cdn_policy {
cache_key_policy {
Expand Down

0 comments on commit 956c74f

Please sign in to comment.