diff --git a/infrastructure/main.tf b/infrastructure/main.tf index b46e98ba..b105b269 100644 --- a/infrastructure/main.tf +++ b/infrastructure/main.tf @@ -129,49 +129,4 @@ module "policy" { api_name = module.api.name api_policy_xml_content = local.api_policy } -# endregion - -# REDIS CACHE TESTING - -variable "rdb_backup_enabled" { - type = bool - default = false -} - -variable "sku_name" { - default = "Basic" - description = "The SKU of Redis to use. Possible values are `Basic`, `Standard` and `Premium`." -} - -variable "family" { - default = "C" - description = "The SKU family/pricing group to use. Valid values are `C` (for Basic/Standard SKU family) and `P` (for Premium). Use P for higher availability, but beware it costs a lot more." -} - -variable "redis_capacity" { - default = "1" - description = "The size of the Redis cache to deploy. Valid values are 1, 2, 3, 4, 5" -} - -variable "redis_backup_frequency" { - default = "360" - description = "The Backup Frequency in Minutes. Only supported on Premium SKUs. Possible values are: 15, 30, 60, 360, 720 and 1440" -} - -module "plum-redis-storage" { - source = "git@github.com:hmcts/cnp-module-redis?ref=DTSPO-17012-data-persistency" - product = "${var.product}-${var.component}-session-storage" - location = var.location - env = var.env - private_endpoint_enabled = true - redis_version = "6" - business_area = "cft" - public_network_access_enabled = false - common_tags = var.common_tags - sku_name = var.sku_name - family = var.family - capacity = var.redis_capacity - rdb_backup_enabled = var.rdb_backup_enabled - rdb_backup_frequency = var.redis_backup_frequency - rdb_storage_account_name_prefix = var.product -} +# endregion \ No newline at end of file diff --git a/infrastructure/sandbox.tfvars b/infrastructure/sandbox.tfvars index 897e8da5..7a241146 100644 --- a/infrastructure/sandbox.tfvars +++ b/infrastructure/sandbox.tfvars @@ -1,4 +1 @@ api_gateway_test_certificate_thumbprint = "4A98AB1CFFBA46CACBC7D8D3E10FDA667261DFAA" -rdb_backup_enabled = true -family = "P" -sku_name = "Premium" \ No newline at end of file