Skip to content

Commit

Permalink
remove ecs rpc node as we have ec2 ones (#567)
Browse files Browse the repository at this point in the history
  • Loading branch information
liam-lai authored Aug 16, 2024
1 parent 14be88c commit dfccb75
Showing 1 changed file with 0 additions and 58 deletions.
58 changes: 0 additions & 58 deletions cicd/terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,64 +19,6 @@ provider "aws" {
region = "ap-southeast-1"
}

module "devnet-rpc" {
source = "./module/region"
region = "ap-southeast-1"
nodeKeys = local.rpcDevnetNodeKeys
enableFixedIp = true
logLevel = local.logLevel
xdc_ecs_tasks_execution_role_arn = aws_iam_role.xdc_ecs_tasks_execution_role.arn

cpu = 1024
memory = 4096

network = "devnet"
vpc_cidr = "10.0.0.0/16"
subnet_cidr = "10.0.0.0/20"
providers = {
aws = aws.ap-southeast-1
}
}

module "testnet-rpc" {
source = "./module/region"
region = "ap-southeast-1"
nodeKeys = local.rpcTestnetNodeKeys
enableFixedIp = true
logLevel = local.logLevel
xdc_ecs_tasks_execution_role_arn = aws_iam_role.xdc_ecs_tasks_execution_role.arn

cpu = 1024
memory = 4096

network = "testnet"
vpc_cidr = "10.1.0.0/16"
subnet_cidr = "10.1.0.0/20"
providers = {
aws = aws.ap-southeast-1
}
}

module "mainnet-rpc" {
source = "./module/region"
region = "ap-southeast-1"
nodeKeys = local.rpcMainnetNodeKeys
enableFixedIp = true
logLevel = local.logLevel
xdc_ecs_tasks_execution_role_arn = aws_iam_role.xdc_ecs_tasks_execution_role.arn

cpu = 1024
memory = 4096

network = "mainnet"
vpc_cidr = "10.2.0.0/16"
subnet_cidr = "10.2.0.0/20"
providers = {
aws = aws.ap-southeast-1
}
}


module "devnet_rpc" {
source = "./module/ec2_rpc"
network = "devnet"
Expand Down

0 comments on commit dfccb75

Please sign in to comment.