Skip to content

Commit 89cbddd

Browse files
committed
chore: enable other regions
1 parent cf22873 commit 89cbddd

File tree

1 file changed

+84
-84
lines changed

1 file changed

+84
-84
lines changed

terraform/main.tf

Lines changed: 84 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -42,90 +42,90 @@ module "eu_central_1" {
4242
}
4343
}
4444

45-
# module "us_east_1" {
46-
# source = "./region"
47-
# region = "us-east-1"
48-
# image_version = var.image_version
49-
# log_level = var.log_level
50-
# app_autoscaling_desired_count = var.app_autoscaling_desired_count
51-
# app_autoscaling_min_capacity = var.app_autoscaling_min_capacity
52-
# app_autoscaling_max_capacity = var.app_autoscaling_max_capacity
53-
# ofac_blocked_countries = var.ofac_blocked_countries
54-
# registry_api_endpoint = var.registry_api_endpoint
55-
# registry_api_auth_token = var.registry_api_auth_token
56-
# project_cache_ttl = var.project_cache_ttl
57-
# infura_project_id = var.infura_project_id
58-
# pokt_project_id = var.pokt_project_id
59-
# zerion_api_key = var.zerion_api_key
60-
# quicknode_api_tokens = var.quicknode_api_tokens
61-
# coinbase_api_key = var.coinbase_api_key
62-
# coinbase_app_id = var.coinbase_app_id
63-
# one_inch_api_key = var.one_inch_api_key
64-
# one_inch_referrer = var.one_inch_referrer
65-
# getblock_access_tokens = var.getblock_access_tokens
66-
# pimlico_api_key = var.pimlico_api_key
67-
# solscan_api_v1_token = var.solscan_api_v1_token
68-
# testing_project_id = var.testing_project_id
69-
# geoip_db_key = var.geoip_db_key
70-
# notification_channels = var.notification_channels
71-
# webhook_cloudwatch_p2 = var.webhook_cloudwatch_p2
72-
# webhook_prometheus_p2 = var.webhook_prometheus_p2
73-
# rate_limiting_max_tokens = var.rate_limiting_max_tokens
74-
# rate_limiting_refill_interval = var.rate_limiting_refill_interval
75-
# rate_limiting_refill_rate = var.rate_limiting_refill_rate
76-
# irn_vpc_id = var.irn_vpc_ids["us-east-1"]
77-
# irn_vpc_cidr = var.irn_vpc_cidrs["us-east-1"]
78-
# irn_aws_account_id = var.irn_aws_account_id
79-
# irn_node = var.irn_nodes["us-east-1"]
80-
# irn_key = var.irn_key
81-
# irn_namespace = var.irn_namespace
82-
# irn_namespace_secret = var.irn_namespace_secret
45+
module "us_east_1" {
46+
source = "./region"
47+
region = "us-east-1"
48+
image_version = var.image_version
49+
log_level = var.log_level
50+
app_autoscaling_desired_count = var.app_autoscaling_desired_count
51+
app_autoscaling_min_capacity = var.app_autoscaling_min_capacity
52+
app_autoscaling_max_capacity = var.app_autoscaling_max_capacity
53+
ofac_blocked_countries = var.ofac_blocked_countries
54+
registry_api_endpoint = var.registry_api_endpoint
55+
registry_api_auth_token = var.registry_api_auth_token
56+
project_cache_ttl = var.project_cache_ttl
57+
infura_project_id = var.infura_project_id
58+
pokt_project_id = var.pokt_project_id
59+
zerion_api_key = var.zerion_api_key
60+
quicknode_api_tokens = var.quicknode_api_tokens
61+
coinbase_api_key = var.coinbase_api_key
62+
coinbase_app_id = var.coinbase_app_id
63+
one_inch_api_key = var.one_inch_api_key
64+
one_inch_referrer = var.one_inch_referrer
65+
getblock_access_tokens = var.getblock_access_tokens
66+
pimlico_api_key = var.pimlico_api_key
67+
solscan_api_v1_token = var.solscan_api_v1_token
68+
testing_project_id = var.testing_project_id
69+
geoip_db_key = var.geoip_db_key
70+
notification_channels = var.notification_channels
71+
webhook_cloudwatch_p2 = var.webhook_cloudwatch_p2
72+
webhook_prometheus_p2 = var.webhook_prometheus_p2
73+
rate_limiting_max_tokens = var.rate_limiting_max_tokens
74+
rate_limiting_refill_interval = var.rate_limiting_refill_interval
75+
rate_limiting_refill_rate = var.rate_limiting_refill_rate
76+
irn_vpc_id = var.irn_vpc_ids["us-east-1"]
77+
irn_vpc_cidr = var.irn_vpc_cidrs["us-east-1"]
78+
irn_aws_account_id = var.irn_aws_account_id
79+
irn_node = var.irn_nodes["us-east-1"]
80+
irn_key = var.irn_key
81+
irn_namespace = var.irn_namespace
82+
irn_namespace_secret = var.irn_namespace_secret
8383

84-
# providers = {
85-
# aws = aws.us-east-1
86-
# }
87-
# }
84+
providers = {
85+
aws = aws.us-east-1
86+
}
87+
}
8888

89-
# module "ap_southeast_1" {
90-
# source = "./region"
91-
# region = "ap-southeast-1"
92-
# image_version = var.image_version
93-
# log_level = var.log_level
94-
# app_autoscaling_desired_count = var.app_autoscaling_desired_count
95-
# app_autoscaling_min_capacity = var.app_autoscaling_min_capacity
96-
# app_autoscaling_max_capacity = var.app_autoscaling_max_capacity
97-
# ofac_blocked_countries = var.ofac_blocked_countries
98-
# registry_api_endpoint = var.registry_api_endpoint
99-
# registry_api_auth_token = var.registry_api_auth_token
100-
# project_cache_ttl = var.project_cache_ttl
101-
# infura_project_id = var.infura_project_id
102-
# pokt_project_id = var.pokt_project_id
103-
# zerion_api_key = var.zerion_api_key
104-
# quicknode_api_tokens = var.quicknode_api_tokens
105-
# coinbase_api_key = var.coinbase_api_key
106-
# coinbase_app_id = var.coinbase_app_id
107-
# one_inch_api_key = var.one_inch_api_key
108-
# one_inch_referrer = var.one_inch_referrer
109-
# getblock_access_tokens = var.getblock_access_tokens
110-
# pimlico_api_key = var.pimlico_api_key
111-
# solscan_api_v1_token = var.solscan_api_v1_token
112-
# testing_project_id = var.testing_project_id
113-
# geoip_db_key = var.geoip_db_key
114-
# notification_channels = var.notification_channels
115-
# webhook_cloudwatch_p2 = var.webhook_cloudwatch_p2
116-
# webhook_prometheus_p2 = var.webhook_prometheus_p2
117-
# rate_limiting_max_tokens = var.rate_limiting_max_tokens
118-
# rate_limiting_refill_interval = var.rate_limiting_refill_interval
119-
# rate_limiting_refill_rate = var.rate_limiting_refill_rate
120-
# irn_vpc_id = var.irn_vpc_ids["ap-southeast-1"]
121-
# irn_vpc_cidr = var.irn_vpc_cidrs["ap-southeast-1"]
122-
# irn_aws_account_id = var.irn_aws_account_id
123-
# irn_node = var.irn_nodes["ap-southeast-1"]
124-
# irn_key = var.irn_key
125-
# irn_namespace = var.irn_namespace
126-
# irn_namespace_secret = var.irn_namespace_secret
89+
module "ap_southeast_1" {
90+
source = "./region"
91+
region = "ap-southeast-1"
92+
image_version = var.image_version
93+
log_level = var.log_level
94+
app_autoscaling_desired_count = var.app_autoscaling_desired_count
95+
app_autoscaling_min_capacity = var.app_autoscaling_min_capacity
96+
app_autoscaling_max_capacity = var.app_autoscaling_max_capacity
97+
ofac_blocked_countries = var.ofac_blocked_countries
98+
registry_api_endpoint = var.registry_api_endpoint
99+
registry_api_auth_token = var.registry_api_auth_token
100+
project_cache_ttl = var.project_cache_ttl
101+
infura_project_id = var.infura_project_id
102+
pokt_project_id = var.pokt_project_id
103+
zerion_api_key = var.zerion_api_key
104+
quicknode_api_tokens = var.quicknode_api_tokens
105+
coinbase_api_key = var.coinbase_api_key
106+
coinbase_app_id = var.coinbase_app_id
107+
one_inch_api_key = var.one_inch_api_key
108+
one_inch_referrer = var.one_inch_referrer
109+
getblock_access_tokens = var.getblock_access_tokens
110+
pimlico_api_key = var.pimlico_api_key
111+
solscan_api_v1_token = var.solscan_api_v1_token
112+
testing_project_id = var.testing_project_id
113+
geoip_db_key = var.geoip_db_key
114+
notification_channels = var.notification_channels
115+
webhook_cloudwatch_p2 = var.webhook_cloudwatch_p2
116+
webhook_prometheus_p2 = var.webhook_prometheus_p2
117+
rate_limiting_max_tokens = var.rate_limiting_max_tokens
118+
rate_limiting_refill_interval = var.rate_limiting_refill_interval
119+
rate_limiting_refill_rate = var.rate_limiting_refill_rate
120+
irn_vpc_id = var.irn_vpc_ids["ap-southeast-1"]
121+
irn_vpc_cidr = var.irn_vpc_cidrs["ap-southeast-1"]
122+
irn_aws_account_id = var.irn_aws_account_id
123+
irn_node = var.irn_nodes["ap-southeast-1"]
124+
irn_key = var.irn_key
125+
irn_namespace = var.irn_namespace
126+
irn_namespace_secret = var.irn_namespace_secret
127127

128-
# providers = {
129-
# aws = aws.ap-southeast-1
130-
# }
131-
# }
128+
providers = {
129+
aws = aws.ap-southeast-1
130+
}
131+
}

0 commit comments

Comments
 (0)