Skip to content

Commit c2ca55c

Browse files
authored
chore: add testnet RPC client (#24812)
.
2 parents a21627b + 768f8f3 commit c2ca55c

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

spartan/terraform/deploy-rpc/environments/testnet/main.tf

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,18 @@ locals {
7171
})
7272
})
7373
}
74+
75+
consumer_secret_names = [
76+
"testnet-rpc-consumer-client1"
77+
]
78+
79+
consumers = {
80+
for name in local.consumer_secret_names : name => {
81+
username = name
82+
gcp_secret_manager_secret_name = name
83+
rate_limit_minute = 0
84+
}
85+
}
7486
}
7587

7688
module "environment" {
@@ -86,6 +98,7 @@ module "environment" {
8698
RELEASE_PREFIX = "testnet"
8799
RPCS = local.rpcs
88100
ALLOW_ANONYMOUS = true
101+
CONSUMERS = local.consumers
89102

90103
IRM_METRICS_ENABLED = false
91104
}

spartan/terraform/deploy-rpc/environments/testnet/variables.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,11 @@ variable "K8S_CLUSTER_CONTEXT" {
1919
variable "V4_AZTEC_DOCKER_IMAGE" {
2020
description = "Aztec Docker image to deploy for the v4 RPC."
2121
type = string
22+
default = "aztecprotocol/aztec:4.4.0"
2223
}
2324

2425
variable "CANONICAL_AZTEC_DOCKER_IMAGE" {
2526
description = "Aztec Docker image to deploy for the canonical RPC once that route is enabled."
2627
type = string
28+
default = "aztecprotocol/aztec:5.0.0"
2729
}

0 commit comments

Comments
 (0)