Skip to content

Commit

Permalink
Merge branch 'chore/staging-irn' of https://github.com/WalletConnect/…
Browse files Browse the repository at this point in the history
…rpc-proxy into chore/postgres-only-eu
  • Loading branch information
chris13524 committed Aug 28, 2024
2 parents 2076273 + 278348e commit 1b3a0b1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/sub-validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,15 +98,7 @@ jobs:
- name: Yarn Install
run: yarn install

# Temporary ignoring `Sessions tests` for staging until IRN peering for staging is ready
- name: Run Yarn Integration Tests (no IRN tests)
if: ${{ inputs.stage == 'staging' }}
run: yarn integration --testPathIgnorePatterns='sessions.test.ts'
env:
PROJECT_ID: ${{ secrets.PROJECT_ID }}
RPC_URL: ${{ inputs.stage-url }}
- name: Yarn Integration Tests
if: ${{ inputs.stage == 'prod' }}
run: yarn integration
env:
PROJECT_ID: ${{ secrets.PROJECT_ID }}
Expand Down
14 changes: 14 additions & 0 deletions terraform/region/res_network.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
locals {
vpc_cidr = "10.0.0.0/16"
# https://www.notion.so/walletconnect/Private-IP-range-allocation-5fba8350d0a9453ca589dfa73affd508?pvs=4
# vpc_cidr = (
# module.this.stage == "prod" ? {
# "eu-central-1" = "10.0.0.0/16" # "10.7.0.0/16"
# "us-east-1" = "10.8.0.0/16"
# "ap-southeast-1" = "10.9.0.0/16"
# }
# : {
# "eu-central-1" = "10.10.0.0/16"
# "us-east-1" = "10.11.0.0/16"
# "ap-southeast-1" = "10.12.0.0/16"
# }
# )[module.this.region]

vpc_azs = slice(data.aws_availability_zones.available.names, 0, 3)
vpc_flow_s3_bucket_name = substr("vpc-flow-logs-${module.this.id}-${random_pet.this.id}", 0, 63)
}
Expand Down

0 comments on commit 1b3a0b1

Please sign in to comment.