Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: staging IRN #746

Draft
wants to merge 2 commits into
base: feat/multi-region
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading