Skip to content

Commit 956c74f

Browse files
committed
TF: Set existing security policy for Bitcoin Mainnet
1 parent 261137d commit 956c74f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

terraform/modules/daemon/network.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ resource "google_compute_backend_service" "daemon" {
3333
port_name = "http"
3434
timeout_sec = 3600
3535
enable_cdn = true
36+
37+
security_policy = var.name == "bitcoin-mainnet" ? "https://www.googleapis.com/compute/v1/projects/${var.project}/global/securityPolicies/esplora-block-rule" : "" # TODO: add to TF
3638

3739
cdn_policy {
3840
cache_key_policy {

0 commit comments

Comments
 (0)