Skip to content

Commit 0419592

Browse files
authored
fix(infra): switch testnet DBs to x86 (#314)
1 parent 9ff66d0 commit 0419592

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

infra/modules/service/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,8 +262,8 @@ resource "aws_iam_role_policy" "s3" {
262262
Resource = [for bucket in local.s3_buckets : "arn:aws:s3:::${bucket}"]
263263
},
264264
{
265-
Effect = "Allow",
266-
Action = ["s3:PutObject"],
265+
Effect = "Allow",
266+
Action = ["s3:PutObject"],
267267
Resource = [for bucket in local.s3_buckets : "arn:aws:s3:::${bucket}/*"]
268268
},
269269
]

infra/testnet/main.tf

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ locals {
7474
db_config = {
7575
image = "ghcr.io/walletconnect/wcn-db:251113.0"
7676
cpu_cores = 2
77+
cpu_arch = "x86"
7778
memory = 4
7879
disk = 50
7980
}
@@ -109,9 +110,7 @@ locals {
109110
eu_operators = {
110111
wallet-connect = {
111112
vpc_cidr_octet = 105 # 10.105.0.0/16
112-
# For this one operator use x86 box instead of the default ARM,
113-
# so we have both architectures being actively tested.
114-
db = merge(local.db_config, { cpu_arch = "x86" })
113+
db = local.db_config
115114
nodes = [
116115
local.node_config,
117116
local.node_config,

0 commit comments

Comments
 (0)