From 3af4447b5d068b2904f75f5719c9da74e4085b94 Mon Sep 17 00:00:00 2001 From: Adam Fraser Date: Fri, 13 Sep 2024 12:24:53 -0400 Subject: [PATCH 01/14] Increase lambda timeout to 5 mins (#130) --- indexer/lambda.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indexer/lambda.tf b/indexer/lambda.tf index 32f67ec2..f7f4a576 100644 --- a/indexer/lambda.tf +++ b/indexer/lambda.tf @@ -13,7 +13,7 @@ resource "aws_lambda_function" "main" { function_name = "${each.key}_lambda_function" role = aws_iam_role.lambda_services[each.key].arn architectures = ["x86_64"] - timeout = 120 + timeout = 300 environment { variables = merge( From 6c743321fe34dde9be7df84e827b0c2774d81705 Mon Sep 17 00:00:00 2001 From: roy-dydx <133032749+roy-dydx@users.noreply.github.com> Date: Wed, 18 Sep 2024 12:11:21 -0400 Subject: [PATCH 02/14] Remove apne-1a az (#132) --- indexer/terraform.tfvars | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indexer/terraform.tfvars b/indexer/terraform.tfvars index 96ecf5d4..02ca0eaa 100644 --- a/indexer/terraform.tfvars +++ b/indexer/terraform.tfvars @@ -1,7 +1,7 @@ indexers = { ap-northeast-1 = { name = "indexer-apne1" - availability_zones = ["ap-northeast-1a", "ap-northeast-1c", "ap-northeast-1d"] + availability_zones = ["ap-northeast-1c", "ap-northeast-1d"] vpc_cidr_block = "10.0.0.0/16" private_subnets_availability_zone_to_cidr_block = { "ap-northeast-1a" = "10.0.0.0/24" From 403934fb85f6df9093eb14c8b5be097ecde09112 Mon Sep 17 00:00:00 2001 From: roy-dydx <133032749+roy-dydx@users.noreply.github.com> Date: Wed, 18 Sep 2024 13:57:19 -0400 Subject: [PATCH 03/14] Revert "Remove apne-1a az (#132)" (#133) This reverts commit 6c743321fe34dde9be7df84e827b0c2774d81705. --- indexer/terraform.tfvars | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indexer/terraform.tfvars b/indexer/terraform.tfvars index 02ca0eaa..96ecf5d4 100644 --- a/indexer/terraform.tfvars +++ b/indexer/terraform.tfvars @@ -1,7 +1,7 @@ indexers = { ap-northeast-1 = { name = "indexer-apne1" - availability_zones = ["ap-northeast-1c", "ap-northeast-1d"] + availability_zones = ["ap-northeast-1a", "ap-northeast-1c", "ap-northeast-1d"] vpc_cidr_block = "10.0.0.0/16" private_subnets_availability_zone_to_cidr_block = { "ap-northeast-1a" = "10.0.0.0/24" From 44febb8c6a5761dbc1cd690d63c644296f1ffc39 Mon Sep 17 00:00:00 2001 From: jerryfan01234 <44346807+jerryfan01234@users.noreply.github.com> Date: Mon, 23 Sep 2024 13:21:40 -0400 Subject: [PATCH 04/14] [OTE-821] Add roundtable monitors for update affiliate info and update wallet total volume (#134) * upgrade kafka version and reduce session timeout * Add partition level logging for mainnet MSK * Fix terraform apply resource conflict * Add partition offset plot to vulcan dashboard * dummy * Add stale compliance data monitor for mainnet * add roundtable monitors for update affiliate info and update wallet total volume --- .../indexer_monitors/roundtable_monitors.tf | 51 +++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 modules/indexer_monitors/roundtable_monitors.tf diff --git a/modules/indexer_monitors/roundtable_monitors.tf b/modules/indexer_monitors/roundtable_monitors.tf new file mode 100644 index 00000000..b16972aa --- /dev/null +++ b/modules/indexer_monitors/roundtable_monitors.tf @@ -0,0 +1,51 @@ +resource "datadog_monitor_json" "roundtable_update_affiliate_info_persistent_cache_stale" { + monitor = < 600", + "message": "persistentCache.affiliateInfoUpdateTime is more than 10 minutes in the past. This indicates that update-affiliate-info roundtable has not run successfully in past 10 min -> affiliate_info table is stale.", + "tags": [ + "team:${var.team}", + "env:${var.env_tag}" + ], + "options": { + "thresholds": { + "critical": 600 + }, + "notify_audit": false, + "include_tags": false, + "notify_no_data": false, + "silenced": {} + }, + "priority": null, + "restricted_roles": null +} +EOF +} + +resource "datadog_monitor_json" "roundtable_update_wallet_total_volume_persistent_cache_stale" { + monitor = < 600", + "message": "persistentCache.totalVolumeUpdateTime is more than 10 minutes in the past. This indicates that update-wallet-total-volume roundtable has not run successfully in past 10 min -> totalVolume column of wallets table is stale.", + "tags": [ + "team:${var.team}", + "env:${var.env_tag}" + ], + "options": { + "thresholds": { + "critical": 600 + }, + "notify_audit": false, + "include_tags": false, + "notify_no_data": false, + "silenced": {} + }, + "priority": null, + "restricted_roles": null +} +EOF +} \ No newline at end of file From 0495e63852653395661464782eb0d59d5ba6ff07 Mon Sep 17 00:00:00 2001 From: roy-dydx <133032749+roy-dydx@users.noreply.github.com> Date: Thu, 26 Sep 2024 19:44:28 -0400 Subject: [PATCH 05/14] Add rack aware replica selector to msk config (#135) --- indexer/msk.tf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/indexer/msk.tf b/indexer/msk.tf index 69112991..7b0ed9c4 100644 --- a/indexer/msk.tf +++ b/indexer/msk.tf @@ -19,6 +19,7 @@ resource "aws_msk_configuration" "main" { message.max.bytes=4194304 unclean.leader.election.enable=true zookeeper.session.timeout.ms=6000 + replica.selector.class = org.apache.kafka.common.replica.RackAwareReplicaSelector PROPERTIES lifecycle { @@ -56,4 +57,4 @@ resource "aws_msk_cluster" "main" { arn = aws_msk_configuration.main.arn revision = aws_msk_configuration.main.latest_revision } -} \ No newline at end of file +} From 17fe918c52ce98b6625150cc2767ba9946fc5953 Mon Sep 17 00:00:00 2001 From: roy-dydx <133032749+roy-dydx@users.noreply.github.com> Date: Fri, 27 Sep 2024 13:00:18 -0400 Subject: [PATCH 06/14] Add AWS_REGION envvar to services that connect to kafka (#136) --- indexer/locals.tf | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/indexer/locals.tf b/indexer/locals.tf index 1169f232..b20af218 100644 --- a/indexer/locals.tf +++ b/indexer/locals.tf @@ -38,6 +38,10 @@ locals { should_deploy_in_rds_subnet : true, ecs_environment_variables : flatten( [ + { + name : "AWS_REGION", + value : var.region, + }, { name : "PG_POOL_MAX", value : "30" @@ -109,6 +113,10 @@ locals { should_deploy_in_rds_subnet : false, ecs_environment_variables : flatten( [ + { + name : "AWS_REGION", + value : var.region, + }, { name : "COMLINK_URL", value : aws_lb.public.dns_name, @@ -207,6 +215,10 @@ locals { should_deploy_in_rds_subnet : false, ecs_environment_variables : flatten( [ + { + name : "AWS_REGION", + value : var.region, + }, { name : "PG_POOL_MAX", value : "2" From fe63f83476e35068c16a8098bfcc86b874d2139c Mon Sep 17 00:00:00 2001 From: dydxwill <119354122+dydxwill@users.noreply.github.com> Date: Mon, 30 Sep 2024 14:25:25 -0400 Subject: [PATCH 07/14] Add read replica storage variable (#137) * add read replica storage var * set default --- indexer/rds.tf | 2 ++ indexer/variables.tf | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/indexer/rds.tf b/indexer/rds.tf index 72a7383e..83d29a8a 100644 --- a/indexer/rds.tf +++ b/indexer/rds.tf @@ -231,6 +231,7 @@ resource "aws_db_instance" "read_replica" { # be specified for a replica, and will match the properties on the source db. vpc_security_group_ids = [aws_security_group.rds.id] parameter_group_name = aws_db_parameter_group.main.name + allocated_storage = var.rds_read_replica_db_allocated_storage_gb publicly_accessible = false # Set to true if any planned changes need to be applied before the next maintenance window. apply_immediately = false @@ -256,6 +257,7 @@ resource "aws_db_instance" "read_replica_2" { # be specified for a replica, and will match the properties on the source db. vpc_security_group_ids = [aws_security_group.rds.id] parameter_group_name = aws_db_parameter_group.main.name + allocated_storage = var.rds_read_replica_db_allocated_storage_gb publicly_accessible = false # Set to true if any planned changes need to be applied before the next maintenance window. apply_immediately = false diff --git a/indexer/variables.tf b/indexer/variables.tf index 37f1ed6d..30c46764 100644 --- a/indexer/variables.tf +++ b/indexer/variables.tf @@ -115,6 +115,12 @@ variable "rds_db_allocated_storage_gb" { description = "Storage allocated to the Postgres RDS DB in GB" } +variable "rds_read_replica_db_allocated_storage_gb" { + type = number + description = "Storage allocated to the Postgres RDS read replica DBs in GB" + default = 1000 +} + variable "elasticache_redis_num_cache_clusters" { type = number description = "Number of elasticache cache clusters" From 489c2cffd8fb0cee6f79fddaa01ebb1134672a99 Mon Sep 17 00:00:00 2001 From: roy-dydx <133032749+roy-dydx@users.noreply.github.com> Date: Mon, 30 Sep 2024 14:26:16 -0400 Subject: [PATCH 08/14] Update msk size to match mainnet env (#138) --- indexer/msk.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indexer/msk.tf b/indexer/msk.tf index 7b0ed9c4..3ca5c31b 100644 --- a/indexer/msk.tf +++ b/indexer/msk.tf @@ -37,7 +37,7 @@ resource "aws_msk_cluster" "main" { instance_type = var.msk_instance_type storage_info { ebs_storage_info { - volume_size = var.environment == "mainnet" ? 2000 : 1000 # in GB + volume_size = var.environment == "mainnet" ? 4000 : 1000 # in GB } } client_subnets = [ From 123ae975fc2fd15fbd3e4c35b1b586cfb972aa55 Mon Sep 17 00:00:00 2001 From: roy-dydx <133032749+roy-dydx@users.noreply.github.com> Date: Mon, 30 Sep 2024 14:36:53 -0400 Subject: [PATCH 09/14] Add variable for number of desired service instances (#140) * Update variables.tf * Update locals.tf * Update locals.tf * Update locals.tf --- indexer/locals.tf | 6 +++--- indexer/variables.tf | 18 ++++++++++++++++++ 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/indexer/locals.tf b/indexer/locals.tf index b20af218..346d5ca2 100644 --- a/indexer/locals.tf +++ b/indexer/locals.tf @@ -55,7 +55,7 @@ locals { ), }, "${local.service_names["comlink"]}" : { - ecs_desired_count : 5, + ecs_desired_count : var.comlink_ecs_desired_count, task_definition_memory : 4096, task_definition_cpu : 2048, is_public_facing : true, @@ -101,7 +101,7 @@ locals { ), }, "${local.service_names["socks"]}" : { - ecs_desired_count : 5, + ecs_desired_count : var.socks_ecs_desired_count, task_definition_memory : 20480, task_definition_cpu : 4096, is_public_facing : true, @@ -203,7 +203,7 @@ locals { ), }, "${local.service_names["vulcan"]}" : { - ecs_desired_count : 5, + ecs_desired_count : var.vulcan_ecs_desired_count, task_definition_memory : 8192, task_definition_cpu : 4096, is_public_facing : false, diff --git a/indexer/variables.tf b/indexer/variables.tf index 30c46764..07c7d191 100644 --- a/indexer/variables.tf +++ b/indexer/variables.tf @@ -478,3 +478,21 @@ variable "image_count" { description = "Number of images to store for ECR, defaults to 100." default = 100 } + +variable "vulcan_ecs_desired_count" { + type = number + description = "Number of desired vulcan instances." + default = 5 +} + +variable "comlink_ecs_desired_count" { + type = number + description = "Number of desired comlinnk instances." + default = 5 +} + +variable "socks_ecs_desired_count" { + type = number + description = "Number of desired socks instances." + default = 5 +} From 1fbfc6c6e6c7e9a34f01f075f6fe2b57589aa59c Mon Sep 17 00:00:00 2001 From: dydxwill <119354122+dydxwill@users.noreply.github.com> Date: Mon, 30 Sep 2024 14:43:05 -0400 Subject: [PATCH 10/14] Remove Indexer dashboards from terraform (#139) --- indexer_dashboards/indexer_dashboards.tf | 4 - indexer_dashboards/providers.tf | 6 - indexer_dashboards/terraform.tfvars | 51 - indexer_dashboards/variables.tf | 40 - indexer_dashboards/versions.tf | 18 - .../indexer_dashboards/comlink_dashboard.tf | 822 ---- modules/indexer_dashboards/ender_dashboard.tf | 3354 ----------------- .../indexer_dashboards/full_node_dashboard.tf | 544 --- modules/indexer_dashboards/locals.tf | 69 - .../indexer_dashboards/postgres_dashboard.tf | 66 - .../roundtable_dashboard.tf | 952 ----- modules/indexer_dashboards/socks_dashboard.tf | 1526 -------- modules/indexer_dashboards/variables.tf | 22 - modules/indexer_dashboards/versions.tf | 10 - .../indexer_dashboards/vulcan_dashboard.tf | 1813 --------- 15 files changed, 9297 deletions(-) delete mode 100644 indexer_dashboards/indexer_dashboards.tf delete mode 100644 indexer_dashboards/providers.tf delete mode 100644 indexer_dashboards/terraform.tfvars delete mode 100644 indexer_dashboards/variables.tf delete mode 100644 indexer_dashboards/versions.tf delete mode 100644 modules/indexer_dashboards/comlink_dashboard.tf delete mode 100644 modules/indexer_dashboards/ender_dashboard.tf delete mode 100644 modules/indexer_dashboards/full_node_dashboard.tf delete mode 100644 modules/indexer_dashboards/locals.tf delete mode 100644 modules/indexer_dashboards/postgres_dashboard.tf delete mode 100644 modules/indexer_dashboards/roundtable_dashboard.tf delete mode 100644 modules/indexer_dashboards/socks_dashboard.tf delete mode 100644 modules/indexer_dashboards/variables.tf delete mode 100644 modules/indexer_dashboards/versions.tf delete mode 100644 modules/indexer_dashboards/vulcan_dashboard.tf diff --git a/indexer_dashboards/indexer_dashboards.tf b/indexer_dashboards/indexer_dashboards.tf deleted file mode 100644 index 031fed71..00000000 --- a/indexer_dashboards/indexer_dashboards.tf +++ /dev/null @@ -1,4 +0,0 @@ -module "indexer_dashboards" { - source = "../modules/indexer_dashboards" - indexer_services_variable_mapping = var.indexer_services_variable_mapping -} diff --git a/indexer_dashboards/providers.tf b/indexer_dashboards/providers.tf deleted file mode 100644 index 8d83a778..00000000 --- a/indexer_dashboards/providers.tf +++ /dev/null @@ -1,6 +0,0 @@ -# Default provider. -provider "datadog" { - api_key = var.datadog_api_key - app_key = var.datadog_app_key - api_url = var.datadog_api_url -} diff --git a/indexer_dashboards/terraform.tfvars b/indexer_dashboards/terraform.tfvars deleted file mode 100644 index d83fce12..00000000 --- a/indexer_dashboards/terraform.tfvars +++ /dev/null @@ -1,51 +0,0 @@ -indexer_services_variable_mapping = { - "dev" : { - "environment" : "dev", - "service" : "indexer", - "cluster_name" : "dev-indexer-apne1-cluster", - "ecs_cluster_name" : "dev-indexer-full-node-cluster", - "msk_cluster_name" : "dev-indexer-apne1-msk-cluster" - }, - "dev2" : { - "environment" : "dev2", - "service" : "indexer", - "cluster_name" : "dev2-indexer-apne1-cluster", - "ecs_cluster_name" : "dev2-indexer-full-node-cluster", - "msk_cluster_name" : "dev2-indexer-apne1-msk-cluster" - }, - "dev3" : { - "environment" : "dev3", - "service" : "indexer", - "cluster_name" : "dev3-indexer-apne1-cluster", - "ecs_cluster_name" : "dev3-indexer-full-node-cluster", - "msk_cluster_name" : "dev3-indexer-apne1-msk-cluster" - }, - "dev4" : { - "environment" : "dev4", - "service" : "indexer", - "cluster_name" : "dev4-indexer-apne1-cluster", - "ecs_cluster_name" : "dev4-indexer-full-node-cluster", - "msk_cluster_name" : "dev4-indexer-apne1-msk-cluster" - }, - "dev5" : { - "environment" : "dev5", - "service" : "indexer", - "cluster_name" : "dev5-indexer-apne1-cluster", - "ecs_cluster_name" : "dev5-indexer-full-node-cluster", - "msk_cluster_name" : "dev5-indexer-apne1-msk-cluster" - }, - "staging" : { - "environment" : "staging", - "service" : "indexer", - "cluster_name" : "staging-indexer-apne1-cluster", - "ecs_cluster_name" : "staging-indexer-full-node-cluster", - "msk_cluster_name" : "staging-indexer-apne1-msk-cluster" - }, - "testnet2" : { - "environment" : "testnet2", - "service" : "indexer", - "cluster_name" : "testnet2-indexer-apne1-cluster", - "ecs_cluster_name" : "testnet2-indexer-full-node-cluster", - "msk_cluster_name" : "testnet2-indexer-apne1-msk-cluster" - }, -} diff --git a/indexer_dashboards/variables.tf b/indexer_dashboards/variables.tf deleted file mode 100644 index 1f9bd1fd..00000000 --- a/indexer_dashboards/variables.tf +++ /dev/null @@ -1,40 +0,0 @@ -variable "indexer_services_variable_mapping" { - type = map( - object({ - # Environment - environment = string - - # Service name - service = string - - # Cluster name for the indexer services - cluster_name = string - - # ECS cluster name for the full node - ecs_cluster_name = string - - # MSK cluster name - msk_cluster_name = string - }) - ) - - description = "Map of variable name to preset values of variables used in indexer services." -} - -variable "datadog_api_key" { - type = string - description = "Datadog API key" - sensitive = true -} - -variable "datadog_app_key" { - type = string - description = "Datadog app key" - sensitive = true -} - -variable "datadog_api_url" { - type = string - description = "The datadog api url" - default = "https://api.datadoghq.com/" -} diff --git a/indexer_dashboards/versions.tf b/indexer_dashboards/versions.tf deleted file mode 100644 index 401824f8..00000000 --- a/indexer_dashboards/versions.tf +++ /dev/null @@ -1,18 +0,0 @@ -terraform { - cloud { - organization = "dydxprotocol" - - workspaces { - tags = ["indexer-dashboards"] - } - } - - required_providers { - datadog = { - source = "DataDog/datadog" - version = "~> 3.29" - } - } - - required_version = "~> 1.3.2" -} diff --git a/modules/indexer_dashboards/comlink_dashboard.tf b/modules/indexer_dashboards/comlink_dashboard.tf deleted file mode 100644 index c3c7b154..00000000 --- a/modules/indexer_dashboards/comlink_dashboard.tf +++ /dev/null @@ -1,822 +0,0 @@ -resource "datadog_dashboard_json" "comlink" { - dashboard = < Date: Mon, 30 Sep 2024 16:59:29 -0400 Subject: [PATCH 11/14] Add variable for full_node root_block_device_size (#141) * Update full_node_ap_northeast_1.tf * Update variables.tf --- indexer/full_node_ap_northeast_1.tf | 2 ++ indexer/variables.tf | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/indexer/full_node_ap_northeast_1.tf b/indexer/full_node_ap_northeast_1.tf index 5b39959e..18e32008 100644 --- a/indexer/full_node_ap_northeast_1.tf +++ b/indexer/full_node_ap_northeast_1.tf @@ -39,4 +39,6 @@ module "full_node_ap_northeast_1" { providers = { aws = aws.ap_northeast_1 } + + root_block_device_size = var.full_node_root_block_device_size } diff --git a/indexer/variables.tf b/indexer/variables.tf index 07c7d191..7fbfbfca 100644 --- a/indexer/variables.tf +++ b/indexer/variables.tf @@ -496,3 +496,9 @@ variable "socks_ecs_desired_count" { description = "Number of desired socks instances." default = 5 } + +variable "full_node_root_block_device_size" { + type = number + description = "Size of Size of root block device in gigabytes." + default = 4000 +} From 88e5ba1e4ed89ba7592ec36e58fc7e5fe7167edc Mon Sep 17 00:00:00 2001 From: dydxwill <119354122+dydxwill@users.noreply.github.com> Date: Wed, 2 Oct 2024 14:48:01 -0400 Subject: [PATCH 12/14] set log retention hours to 120 (#142) --- indexer/msk.tf | 1 + 1 file changed, 1 insertion(+) diff --git a/indexer/msk.tf b/indexer/msk.tf index 3ca5c31b..892b395c 100644 --- a/indexer/msk.tf +++ b/indexer/msk.tf @@ -20,6 +20,7 @@ resource "aws_msk_configuration" "main" { unclean.leader.election.enable=true zookeeper.session.timeout.ms=6000 replica.selector.class = org.apache.kafka.common.replica.RackAwareReplicaSelector + log.retention.hours = 120 PROPERTIES lifecycle { From c1a17a7f58c111b0be707a5fafbe6e8fd26ce549 Mon Sep 17 00:00:00 2001 From: dydxwill <119354122+dydxwill@users.noreply.github.com> Date: Thu, 3 Oct 2024 14:08:07 -0400 Subject: [PATCH 13/14] add default (#143) --- indexer/variables.tf | 1 + 1 file changed, 1 insertion(+) diff --git a/indexer/variables.tf b/indexer/variables.tf index 7fbfbfca..42b727cd 100644 --- a/indexer/variables.tf +++ b/indexer/variables.tf @@ -113,6 +113,7 @@ variable "rds_db_instance_class" { variable "rds_db_allocated_storage_gb" { type = number description = "Storage allocated to the Postgres RDS DB in GB" + default = 1000 } variable "rds_read_replica_db_allocated_storage_gb" { From 41a42b49d310814e654322cd13ab426a6886e6f5 Mon Sep 17 00:00:00 2001 From: dydxwill <119354122+dydxwill@users.noreply.github.com> Date: Mon, 14 Oct 2024 15:15:38 -0400 Subject: [PATCH 14/14] consolidate storage used for read replica & main instance (#145) --- indexer/rds.tf | 4 ++-- indexer/variables.tf | 6 ------ 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/indexer/rds.tf b/indexer/rds.tf index 83d29a8a..29b374be 100644 --- a/indexer/rds.tf +++ b/indexer/rds.tf @@ -231,7 +231,7 @@ resource "aws_db_instance" "read_replica" { # be specified for a replica, and will match the properties on the source db. vpc_security_group_ids = [aws_security_group.rds.id] parameter_group_name = aws_db_parameter_group.main.name - allocated_storage = var.rds_read_replica_db_allocated_storage_gb + allocated_storage = var.rds_db_allocated_storage_gb publicly_accessible = false # Set to true if any planned changes need to be applied before the next maintenance window. apply_immediately = false @@ -257,7 +257,7 @@ resource "aws_db_instance" "read_replica_2" { # be specified for a replica, and will match the properties on the source db. vpc_security_group_ids = [aws_security_group.rds.id] parameter_group_name = aws_db_parameter_group.main.name - allocated_storage = var.rds_read_replica_db_allocated_storage_gb + allocated_storage = var.rds_db_allocated_storage_gb publicly_accessible = false # Set to true if any planned changes need to be applied before the next maintenance window. apply_immediately = false diff --git a/indexer/variables.tf b/indexer/variables.tf index 42b727cd..b4911b56 100644 --- a/indexer/variables.tf +++ b/indexer/variables.tf @@ -116,12 +116,6 @@ variable "rds_db_allocated_storage_gb" { default = 1000 } -variable "rds_read_replica_db_allocated_storage_gb" { - type = number - description = "Storage allocated to the Postgres RDS read replica DBs in GB" - default = 1000 -} - variable "elasticache_redis_num_cache_clusters" { type = number description = "Number of elasticache cache clusters"