{"id":51116587,"url":"https://github.com/oracle-devrel/terraform-oci-cloudbricks-redis","last_synced_at":"2026-06-24T22:30:39.518Z","repository":{"id":38239951,"uuid":"408836486","full_name":"oracle-devrel/terraform-oci-cloudbricks-redis","owner":"oracle-devrel","description":"OCI Cloud Bricks: Redis","archived":false,"fork":false,"pushed_at":"2025-01-21T20:09:19.000Z","size":92,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-21T13:48:36.255Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"upl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oracle-devrel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-21T13:43:23.000Z","updated_at":"2025-01-21T20:09:23.000Z","dependencies_parsed_at":"2024-05-16T17:28:14.388Z","dependency_job_id":"8fb71c95-b92f-4fc6-87ed-32b3862029d2","html_url":"https://github.com/oracle-devrel/terraform-oci-cloudbricks-redis","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":"oracle-devrel/repo-template","purl":"pkg:github/oracle-devrel/terraform-oci-cloudbricks-redis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle-devrel%2Fterraform-oci-cloudbricks-redis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle-devrel%2Fterraform-oci-cloudbricks-redis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle-devrel%2Fterraform-oci-cloudbricks-redis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle-devrel%2Fterraform-oci-cloudbricks-redis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oracle-devrel","download_url":"https://codeload.github.com/oracle-devrel/terraform-oci-cloudbricks-redis/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle-devrel%2Fterraform-oci-cloudbricks-redis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34752465,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-24T02:00:07.484Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-24T22:30:39.437Z","updated_at":"2026-06-24T22:30:39.499Z","avatar_url":"https://github.com/oracle-devrel.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OCI Cloud Bricks: Redis\n\n[![License: UPL](https://img.shields.io/badge/license-UPL-green)](https://img.shields.io/badge/license-UPL-green) [![Quality gate](https://sonarcloud.io/api/project_badges/quality_gate?project=oracle-devrel_terraform-oci-cloudbricks-redis)](https://sonarcloud.io/dashboard?id=oracle-devrel_terraform-oci-cloudbricks-redis)\n\n## Introduction\nThe following brick contains the logic to provision a Redis database caluster in a highly available architecture. This is compromised of a master server and any number of replicas.\n\nThis brick is only supported on Oracle Linux for the time being.\n\n## Reference Architecture\nThe following is the reference architecture associated to this brick\n\n![Reference Architecture](./images/Bricks_Architectures-redis.jpg)\n\n### Prerequisites\n- Pre-baked Artifact and Network Compartments\n- Pre-baked VCN\n\n# Sample tfvar file\n\nIf using Fixes Shapes.\n\n```shell\n######################################## COMMON VARIABLES ######################################\nregion           = \"re-region-1\"\ntenancy_ocid     = \"ocid1.tenancy.oc1..aaaaaaaabcedfghijklmonoprstuvwxyz\"\nuser_ocid        = \"ocid1.user.oc1..aaaaaaaabcedfghijklmonoprstuvwxyz\"\nfingerprint      = \"fo:oo:ba:ar:ba:ar\"\nprivate_key_path = \"/absolute/path/to/api/key/your_api_key.pem\"\n######################################## COMMON VARIABLES ######################################\n######################################## ARTIFACT SPECIFIC VARIABLES ######################################\nssh_public_key                          = \"/absolute/path/to/api/key/your_ssh_public_key.pub\"\nssh_private_key                         = \"/absolute/path/to/api/key/your_ssh_private_key\"\ncompute_nsg_name                        = \"MY_NSG\"\nlinux_compute_instance_compartment_name = \"MY_ARTIFACT_COMPARTMENT\"\nlinux_compute_network_compartment_name  = \"MY_NETWORK_COMPARTMENT\"\nprivate_network_subnet_name             = \"MY_PRIVATE_SUBNET\"\nvcn_display_name                        = \"MY_VCN\"\n\nredis_master_name  = \"MY_REDIS_MASTER_NAME\"\nredis_master_shape = \"VM.Standard2.1\"\nredis_master_ad    = \"aBCD:RE-REGION-1-AD-1\"\nredis_master_fd    = \"FAULT-DOMAIN-1\"\n\nredis_replica_name    = \"MY_REDIS_REPLICA_NAME\"\nredis_replica_count   = \"3\"\nredis_replica_shape   = \"VM.Standard2.1\"\nredis_replica_ad_list = [\"oDQF:UK-LONDON-1-AD-1\", \"oDQF:UK-LONDON-1-AD-2\", \"oDQF:UK-LONDON-1-AD-3\"]\nredis_replica_fd_list = [\"FAULT-DOMAIN-1\", \"FAULT-DOMAIN-2\", \"FAULT-DOMAIN-3\"]\n\nredis_version  = \"6.2.5\"\n\ninstance_backup_policy_level = \"bronze\"\n\nmaster_disk_size_in_gb     = \"50\"\nmaster_disk_vpus_per_gb    = \"10\"\nmaster_backup_policy_level = \"bronze\"\n\nreplica_disk_size_in_gb     = \"50\"\nreplica_disk_vpus_per_gb    = \"10\"\nreplica_backup_policy_level = \"bronze\"\n######################################## ARTIFACT SPECIFIC VARIABLES ######################################\n```\n\nIf using Flex Shapes.\n\n```shell\n######################################## COMMON VARIABLES ######################################\nregion           = \"re-region-1\"\ntenancy_ocid     = \"ocid1.tenancy.oc1..aaaaaaaabcedfghijklmonoprstuvwxyz\"\nuser_ocid        = \"ocid1.user.oc1..aaaaaaaabcedfghijklmonoprstuvwxyz\"\nfingerprint      = \"fo:oo:ba:ar:ba:ar\"\nprivate_key_path = \"/absolute/path/to/api/key/your_api_key.pem\"\n######################################## COMMON VARIABLES ######################################\n######################################## ARTIFACT SPECIFIC VARIABLES ######################################\nssh_public_key                          = \"/absolute/path/to/api/key/your_ssh_public_key.pub\"\nssh_private_key                         = \"/absolute/path/to/api/key/your_ssh_private_key\"\ncompute_nsg_name                        = \"MY_NSG\"\nlinux_compute_instance_compartment_name = \"MY_ARTIFACT_COMPARTMENT\"\nlinux_compute_network_compartment_name  = \"MY_NETWORK_COMPARTMENT\"\nprivate_network_subnet_name             = \"MY_PRIVATE_SUBNET\"\nvcn_display_name                        = \"MY_VCN\"\n\nredis_master_name          = \"MY_REDIS_MASTER_NAME\"\nredis_master_shape         = \"VM.Standard.E4.Flex\"\nredis_master_ad            = \"aBCD:RE-REGION-1-AD-1\"\nredis_master_fd            = \"FAULT-DOMAIN-1\"\nredis_master_is_flex_shape = true\nredis_master_ocpus         = \"1\"\nredis_master_memory_in_gb  = \"16\"\n\nredis_replica_name          = \"MY_REDIS_REPLICA_NAME\"\nredis_replica_count         = \"3\"\nredis_replica_shape         = \"VM.Standard.E4.Flex\"\nredis_replica_ad_list       = [\"oDQF:UK-LONDON-1-AD-1\", \"oDQF:UK-LONDON-1-AD-2\", \"oDQF:UK-LONDON-1-AD-3\"]\nredis_replica_fd_list       = [\"FAULT-DOMAIN-1\", \"FAULT-DOMAIN-2\", \"FAULT-DOMAIN-3\"]\nredis_replica_is_flex_shape = true\nredis_replica_memory_in_gb  = \"1\"\nredis_replica_ocpus         = \"16\"\n\nredis_version  = \"6.2.5\"\n\ninstance_backup_policy_level = \"bronze\"\n\nmaster_disk_size_in_gb     = \"50\"\nmaster_disk_vpus_per_gb    = \"10\"\nmaster_backup_policy_level = \"bronze\"\n\nreplica_disk_size_in_gb     = \"50\"\nreplica_disk_vpus_per_gb    = \"10\"\nreplica_backup_policy_level = \"bronze\"\n######################################## ARTIFACT SPECIFIC VARIABLES ######################################\n```\n\n### Variable Specific Conisderions\n- Compute ssh keys to later log into instances. Paths to the keys should be provided in variables `ssh_public_key` and `ssh_private_key`.\n- Variable `compute_nsg_name` is an optional network security group that can be attached.\n- Variable `redis_version` may be set to any of the supported version of Redis at the time of creating this brick `(6.2.6, 6.0.16, 5.0.14)` Source: [Redis endoflife](https://endoflife.date/redis)\n- Variable `redis_replica_count` determines how many replica instance are provisioned. This value has been tested between `1-30`, however a minimum of `3` is recommended.\n- Variable `instance_backup_policy_level` specifies the name of the backup policy used on the instance boot volumes.\n- Variables `master_backup_policy_level` and `replica_backup_policy_level` specificy the name of the backup policy used on the ISCSI disks storing data and log files on the master and replica servers respectively.\n- Variables `master_disk_size_in_gb` and `replica_disk_size_in_gb` specify the size of the ISCSI disks in GB used to store data and log files on the master and replica servers respectively. This can be between `50` and `32768`.\n- Variable `master_disk_vpus_per_gb` and `replica_disk_vpus_per_gb` specify the VPUs per GB of the ISCSI disks used to store data and log files on the master and replica servers respectively. The value must be between `0` and `120` and be multiple of 10.\n- Flex Shapes:\n  - Variable `redis_master_is_flex_shape` should be defined as true when the master instance is a flex shape. The variables `redis_master_ocpus` and `redis_master_memory_in_gb` should then also be defined. Do not use any of these variables at all when using a standard shape as they are not needed and assume sensible defaults.\n  - Variable `redis_replica_is_flex_shape` should be defined as true when the replica instances are a flex shape. The variables `redis_replica_ocpus` and `redis_replica_memory_in_gb` should then also be defined. Do not use any of these variables at all when using a standard shape as they are not needed and assume sensible defaults.\n\n### Sample provider\nThe following is the base provider definition to be used with this module\n\n```shell\nterraform {\n  required_version = \"\u003e= 0.13.5\"\n}\nprovider \"oci\" {\n  region       = var.region\n  tenancy_ocid = var.tenancy_ocid\n  user_ocid        = var.user_ocid\n  fingerprint      = var.fingerprint\n  private_key_path = var.private_key_path\n  disable_auto_retries = \"true\"\n}\n\nprovider \"oci\" {\n  alias        = \"home\"\n  region       = data.oci_identity_region_subscriptions.home_region_subscriptions.region_subscriptions[0].region_name\n  tenancy_ocid = var.tenancy_ocid  \n  user_ocid        = var.user_ocid\n  fingerprint      = var.fingerprint\n  private_key_path = var.private_key_path\n  disable_auto_retries = \"true\"\n}\n```\n## Variable documentation\n\n## Requirements\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"requirement_terraform\"\u003e\u003c/a\u003e [terraform](#requirement\\_terraform) | \u003e= 0.13.5 |\n| \u003ca name=\"requirement_oci\"\u003e\u003c/a\u003e [oci](#requirement\\_oci) | \u003e= 4.36.0 |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"provider_null\"\u003e\u003c/a\u003e [null](#provider\\_null) | 3.1.0 |\n| \u003ca name=\"provider_oci\"\u003e\u003c/a\u003e [oci](#provider\\_oci) | 4.45.0 |\n| \u003ca name=\"provider_template\"\u003e\u003c/a\u003e [template](#provider\\_template) | 2.2.0 |\n\n## Modules\n\nNo modules.\n\n## Resources\n\n| Name | Type |\n|------|------|\n| [null_resource.format_disk_exec_redis_master](https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource) | resource |\n| [null_resource.format_disk_exec_redis_replica](https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource) | resource |\n| [null_resource.master_install_redis_binaries](https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource) | resource |\n| [null_resource.mount_disk_exec_redis_master](https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource) | resource |\n| [null_resource.mount_disk_exec_redis_replica](https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource) | resource |\n| [null_resource.partition_disk_redis_master](https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource) | resource |\n| [null_resource.partition_disk_redis_replica](https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource) | resource |\n| [null_resource.provisioning_disk_redis_master](https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource) | resource |\n| [null_resource.provisioning_disk_redis_replica](https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource) | resource |\n| [null_resource.pvcreate_exec_redis_master](https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource) | resource |\n| [null_resource.pvcreate_exec_redis_replica](https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource) | resource |\n| [null_resource.redis_setup_master](https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource) | resource |\n| [null_resource.redis_setup_replicas](https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource) | resource |\n| [null_resource.replica_install_redis_binaries](https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource) | resource |\n| [null_resource.sentinel_setup_master](https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource) | resource |\n| [null_resource.sentinel_setup_replicas](https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource) | resource |\n| [null_resource.vgcreate_exec_redis_master](https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource) | resource |\n| [null_resource.vgcreate_exec_redis_replica](https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource) | resource |\n| [oci_core_instance.redis_master](https://registry.terraform.io/providers/hashicorp/oci/latest/docs/resources/core_instance) | resource |\n| [oci_core_instance.redis_replica](https://registry.terraform.io/providers/hashicorp/oci/latest/docs/resources/core_instance) | resource |\n| [oci_core_volume.ISCSIDisk_redis_master](https://registry.terraform.io/providers/hashicorp/oci/latest/docs/resources/core_volume) | resource |\n| [oci_core_volume.ISCSIDisk_redis_replica](https://registry.terraform.io/providers/hashicorp/oci/latest/docs/resources/core_volume) | resource |\n| [oci_core_volume_attachment.ISCSIDiskAttachment_redis_master](https://registry.terraform.io/providers/hashicorp/oci/latest/docs/resources/core_volume_attachment) | resource |\n| [oci_core_volume_attachment.ISCSIDiskAttachment_redis_replica](https://registry.terraform.io/providers/hashicorp/oci/latest/docs/resources/core_volume_attachment) | resource |\n| [oci_core_volume_backup_policy_assignment.backup_policy_assignment_ISCSI_Disk_redis_master](https://registry.terraform.io/providers/hashicorp/oci/latest/docs/resources/core_volume_backup_policy_assignment) | resource |\n| [oci_core_volume_backup_policy_assignment.backup_policy_assignment_ISCSI_Disk_redis_replica](https://registry.terraform.io/providers/hashicorp/oci/latest/docs/resources/core_volume_backup_policy_assignment) | resource |\n| [oci_core_volume_backup_policy_assignment.backup_policy_assignment_redis_master](https://registry.terraform.io/providers/hashicorp/oci/latest/docs/resources/core_volume_backup_policy_assignment) | resource |\n| [oci_core_volume_backup_policy_assignment.backup_policy_assignment_redis_replica](https://registry.terraform.io/providers/hashicorp/oci/latest/docs/resources/core_volume_backup_policy_assignment) | resource |\n| [oci_core_images.ORACLELINUX](https://registry.terraform.io/providers/hashicorp/oci/latest/docs/data-sources/core_images) | data source |\n| [oci_core_network_security_groups.NSG](https://registry.terraform.io/providers/hashicorp/oci/latest/docs/data-sources/core_network_security_groups) | data source |\n| [oci_core_subnets.PRIVATESUBNET](https://registry.terraform.io/providers/hashicorp/oci/latest/docs/data-sources/core_subnets) | data source |\n| [oci_core_vcns.VCN](https://registry.terraform.io/providers/hashicorp/oci/latest/docs/data-sources/core_vcns) | data source |\n| [oci_core_volume_backup_policies.INSTANCEBACKUPPOLICY](https://registry.terraform.io/providers/hashicorp/oci/latest/docs/data-sources/core_volume_backup_policies) | data source |\n| [oci_core_volume_backup_policies.MASTERBACKUPPOLICY](https://registry.terraform.io/providers/hashicorp/oci/latest/docs/data-sources/core_volume_backup_policies) | data source |\n| [oci_core_volume_backup_policies.REPLICABACKUPPOLICY](https://registry.terraform.io/providers/hashicorp/oci/latest/docs/data-sources/core_volume_backup_policies) | data source |\n| [oci_identity_compartments.COMPARTMENTS](https://registry.terraform.io/providers/hashicorp/oci/latest/docs/data-sources/identity_compartments) | data source |\n| [oci_identity_compartments.NWCOMPARTMENTS](https://registry.terraform.io/providers/hashicorp/oci/latest/docs/data-sources/identity_compartments) | data source |\n| [template_file.install_redis_binaries_sh](https://registry.terraform.io/providers/hashicorp/template/latest/docs/data-sources/file) | data source |\n| [template_file.redis_setup_master_sh](https://registry.terraform.io/providers/hashicorp/template/latest/docs/data-sources/file) | data source |\n| [template_file.redis_setup_replicas_sh](https://registry.terraform.io/providers/hashicorp/template/latest/docs/data-sources/file) | data source |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_compute_nsg_name\"\u003e\u003c/a\u003e [compute\\_nsg\\_name](#input\\_compute\\_nsg\\_name) | Name of the NSG associated to the computes | `string` | `\"\"` | no |\n| \u003ca name=\"input_fingerprint\"\u003e\u003c/a\u003e [fingerprint](#input\\_fingerprint) | API Key Fingerprint for user\\_ocid derived from public API Key imported in OCI User config | `any` | n/a | yes |\n| \u003ca name=\"input_instance_backup_policy_level\"\u003e\u003c/a\u003e [instance\\_backup\\_policy\\_level](#input\\_instance\\_backup\\_policy\\_level) | The backup policy of all instances boot volumes | `any` | n/a | yes |\n| \u003ca name=\"input_linux_compute_instance_compartment_name\"\u003e\u003c/a\u003e [linux\\_compute\\_instance\\_compartment\\_name](#input\\_linux\\_compute\\_instance\\_compartment\\_name) | Defines the compartment name where the infrastructure will be created | `any` | n/a | yes |\n| \u003ca name=\"input_linux_compute_network_compartment_name\"\u003e\u003c/a\u003e [linux\\_compute\\_network\\_compartment\\_name](#input\\_linux\\_compute\\_network\\_compartment\\_name) | Defines the compartment where the Network is currently located | `any` | n/a | yes |\n| \u003ca name=\"input_master_backup_policy_level\"\u003e\u003c/a\u003e [master\\_backup\\_policy\\_level](#input\\_master\\_backup\\_policy\\_level) | The backup policy of the master instance ISCSI disk | `any` | n/a | yes |\n| \u003ca name=\"input_master_disk_size_in_gb\"\u003e\u003c/a\u003e [master\\_disk\\_size\\_in\\_gb](#input\\_master\\_disk\\_size\\_in\\_gb) | The size of the attached disk to the master instance, stores database and log data | `any` | n/a | yes |\n| \u003ca name=\"input_master_disk_vpus_per_gb\"\u003e\u003c/a\u003e [master\\_disk\\_vpus\\_per\\_gb](#input\\_master\\_disk\\_vpus\\_per\\_gb) | The VPUS of the attached disk to the master instance | `any` | n/a | yes |\n| \u003ca name=\"input_private_key_path\"\u003e\u003c/a\u003e [private\\_key\\_path](#input\\_private\\_key\\_path) | Private Key Absolute path location where terraform is executed | `any` | n/a | yes |\n| \u003ca name=\"input_private_network_subnet_name\"\u003e\u003c/a\u003e [private\\_network\\_subnet\\_name](#input\\_private\\_network\\_subnet\\_name) | Defines the subnet display name where this resource will be created at | `any` | n/a | yes |\n| \u003ca name=\"input_redis_master_ad\"\u003e\u003c/a\u003e [redis\\_master\\_ad](#input\\_redis\\_master\\_ad) | The availability domain to provision the master instance in | `any` | n/a | yes |\n| \u003ca name=\"input_redis_master_fd\"\u003e\u003c/a\u003e [redis\\_master\\_fd](#input\\_redis\\_master\\_fd) | The fault domain to provision the master instance in | `any` | n/a | yes |\n| \u003ca name=\"input_redis_master_is_flex_shape\"\u003e\u003c/a\u003e [redis\\_master\\_is\\_flex\\_shape](#input\\_redis\\_master\\_is\\_flex\\_shape) | Boolean to determine if the master instance is flex or not | `bool` | `false` | no |\n| \u003ca name=\"input_redis_master_memory_in_gb\"\u003e\u003c/a\u003e [redis\\_master\\_memory\\_in\\_gb](#input\\_redis\\_master\\_memory\\_in\\_gb) | The amount of memory in GB for the master instance to use when flex shape is enabled | `string` | `\"\"` | no |\n| \u003ca name=\"input_redis_master_name\"\u003e\u003c/a\u003e [redis\\_master\\_name](#input\\_redis\\_master\\_name) | The name given to the master instance | `any` | n/a | yes |\n| \u003ca name=\"input_redis_master_ocpus\"\u003e\u003c/a\u003e [redis\\_master\\_ocpus](#input\\_redis\\_master\\_ocpus) | The number of OCPUS for the master instance to use when flex shape is enabled | `string` | `\"\"` | no |\n| \u003ca name=\"input_redis_master_shape\"\u003e\u003c/a\u003e [redis\\_master\\_shape](#input\\_redis\\_master\\_shape) | The shape for the master instance to use | `any` | n/a | yes |\n| \u003ca name=\"input_redis_replica_ad_list\"\u003e\u003c/a\u003e [redis\\_replica\\_ad\\_list](#input\\_redis\\_replica\\_ad\\_list) | The availability domains to provision the replica instances in | `any` | n/a | yes |\n| \u003ca name=\"input_redis_replica_count\"\u003e\u003c/a\u003e [redis\\_replica\\_count](#input\\_redis\\_replica\\_count) | The number of replica instances to provision | `number` | n/a | yes |\n| \u003ca name=\"input_redis_replica_fd_list\"\u003e\u003c/a\u003e [redis\\_replica\\_fd\\_list](#input\\_redis\\_replica\\_fd\\_list) | The fault domains to provision the replica instances in | `any` | n/a | yes |\n| \u003ca name=\"input_redis_replica_is_flex_shape\"\u003e\u003c/a\u003e [redis\\_replica\\_is\\_flex\\_shape](#input\\_redis\\_replica\\_is\\_flex\\_shape) | Boolean to determine if the replica instances are flex or not | `bool` | `false` | no |\n| \u003ca name=\"input_redis_replica_memory_in_gb\"\u003e\u003c/a\u003e [redis\\_replica\\_memory\\_in\\_gb](#input\\_redis\\_replica\\_memory\\_in\\_gb) | The amount of memory in GB for the replica instances to use when flex shape is enabled | `string` | `\"\"` | no |\n| \u003ca name=\"input_redis_replica_name\"\u003e\u003c/a\u003e [redis\\_replica\\_name](#input\\_redis\\_replica\\_name) | The name given to the replica instances | `any` | n/a | yes |\n| \u003ca name=\"input_redis_replica_ocpus\"\u003e\u003c/a\u003e [redis\\_replica\\_ocpus](#input\\_redis\\_replica\\_ocpus) | The number of OCPUS for the replica instances to use when flex shape is enabled | `string` | `\"\"` | no |\n| \u003ca name=\"input_redis_replica_shape\"\u003e\u003c/a\u003e [redis\\_replica\\_shape](#input\\_redis\\_replica\\_shape) | The shape for the replica instances to use | `any` | n/a | yes |\n| \u003ca name=\"input_redis_version\"\u003e\u003c/a\u003e [redis\\_version](#input\\_redis\\_version) | The version of Redis used in the setup | `any` | n/a | yes |\n| \u003ca name=\"input_region\"\u003e\u003c/a\u003e [region](#input\\_region) | Target region where artifacts are going to be created | `any` | n/a | yes |\n| \u003ca name=\"input_replica_backup_policy_level\"\u003e\u003c/a\u003e [replica\\_backup\\_policy\\_level](#input\\_replica\\_backup\\_policy\\_level) | The backup policy of replica instances ISCSI disks | `any` | n/a | yes |\n| \u003ca name=\"input_replica_disk_size_in_gb\"\u003e\u003c/a\u003e [replica\\_disk\\_size\\_in\\_gb](#input\\_replica\\_disk\\_size\\_in\\_gb) | The size of the attached disk to the replica instances, stores database and log data | `any` | n/a | yes |\n| \u003ca name=\"input_replica_disk_vpus_per_gb\"\u003e\u003c/a\u003e [replica\\_disk\\_vpus\\_per\\_gb](#input\\_replica\\_disk\\_vpus\\_per\\_gb) | The VPUS of the attached disk to the replica instances | `any` | n/a | yes |\n| \u003ca name=\"input_ssh_private_key\"\u003e\u003c/a\u003e [ssh\\_private\\_key](#input\\_ssh\\_private\\_key) | Defines SSH Private Key to be used in order to remotely connect to compute instances | `any` | n/a | yes |\n| \u003ca name=\"input_ssh_public_key\"\u003e\u003c/a\u003e [ssh\\_public\\_key](#input\\_ssh\\_public\\_key) | Defines SSH Public Key to be used in order to remotely connect to compute instances | `any` | n/a | yes |\n| \u003ca name=\"input_tenancy_ocid\"\u003e\u003c/a\u003e [tenancy\\_ocid](#input\\_tenancy\\_ocid) | OCID of tenancy | `any` | n/a | yes |\n| \u003ca name=\"input_user_ocid\"\u003e\u003c/a\u003e [user\\_ocid](#input\\_user\\_ocid) | User OCID in tenancy. Currently hardcoded to user denny.alquinta@oracle.com | `any` | n/a | yes |\n| \u003ca name=\"input_vcn_display_name\"\u003e\u003c/a\u003e [vcn\\_display\\_name](#input\\_vcn\\_display\\_name) | VCN Display name to execute lookup | `any` | n/a | yes |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_redis_master_server\"\u003e\u003c/a\u003e [redis\\_master\\_server](#output\\_redis\\_master\\_server) | Redis Master Instance |\n| \u003ca name=\"output_redis_replica_servers\"\u003e\u003c/a\u003e [redis\\_replica\\_servers](#output\\_redis\\_replica\\_servers) | Redis Replica Instances |\n\n## Contributing\nThis project is open source.  Please submit your contributions by forking this repository and submitting a pull request!  Oracle appreciates any contributions that are made by the open source community.\n\n## License\nCopyright (c) 2024 Oracle and/or its affiliates.\n\nLicensed under the Universal Permissive License (UPL), Version 1.0.\n\nSee [LICENSE](LICENSE.txt) for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foracle-devrel%2Fterraform-oci-cloudbricks-redis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foracle-devrel%2Fterraform-oci-cloudbricks-redis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foracle-devrel%2Fterraform-oci-cloudbricks-redis/lists"}