{"id":21672490,"url":"https://github.com/redis-developer/acre-terraform","last_synced_at":"2025-04-12T03:53:00.306Z","repository":{"id":48669236,"uuid":"342887397","full_name":"redis-developer/acre-terraform","owner":"redis-developer","description":"Templates to get started with the 'azurerm_redis_enterprise_cluster' resource.","archived":false,"fork":false,"pushed_at":"2021-10-12T04:24:03.000Z","size":18,"stargazers_count":4,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T03:52:54.549Z","etag":null,"topics":["azure","azure-cache-redis","redis-enterprise","terraform"],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/redis-developer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-02-27T15:18:56.000Z","updated_at":"2022-09-08T13:47:09.000Z","dependencies_parsed_at":"2022-08-27T07:31:06.630Z","dependency_job_id":null,"html_url":"https://github.com/redis-developer/acre-terraform","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redis-developer%2Facre-terraform","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redis-developer%2Facre-terraform/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redis-developer%2Facre-terraform/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redis-developer%2Facre-terraform/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/redis-developer","download_url":"https://codeload.github.com/redis-developer/acre-terraform/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248514209,"owners_count":21116899,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["azure","azure-cache-redis","redis-enterprise","terraform"],"created_at":"2024-11-25T13:29:40.803Z","updated_at":"2025-04-12T03:53:00.278Z","avatar_url":"https://github.com/redis-developer.png","language":"HCL","readme":"[![Contributors][contributors-shield]][contributors-url]\n[![Forks][forks-shield]][forks-url]\n[![Stargazers][stars-shield]][stars-url]\n[![Issues][issues-shield]][issues-url]\n[![MIT License][license-shield]][license-url]\n\n# ACRE-TERRAFORM\n\nThis is a template to get started with the 'azurerm_redis_enterprise_cluster' resource\navailable in the 'azurerm' provider with Terraform.\n\n- _Tenant_\n  - _Subscription_\n    - **Resource Group**\n      - **Storage Account**\n        - **Storage Container**\n      - **VNET**\n        - **Subnet**\n      - **Redis Enterprise Cluster**\n      - **Private Link connecting subnet and cluster**\n\nThe RediSearch module will be included.\nA private link, vnet and subnet connect to the instance.\nThe public endpoint will be disabled.\n\n## [Getting Started](#getting-started) | [About](#about-the-project) | [License](#license)\n\n## Getting Started\n\n### Prerequisites\n\n1.  [Terraform](https://terraform.io]) [CLI](https://terraform.io/downloads.html)\n2.  [Azure CLI](https://docs.microsoft.com/en-us/cli/azure/install-azure-cli)\n\n### Step 1. Getting Started\n\nLogin to Azure using the Azure CLI\n\n```bash\naz login\n```\n\u003eLogin with a Service Principal will also work\n \nLogin using an Azure Service Principal\n\n```bash\naz login --service-principal --username APP_ID --tenant TENANT_ID --password [password || /path/to/cert]\n```\n\n### Step 2: Clone the repository\n\n```bash\ngit clone https://github.com/redis-developer/acre-terraform\n```\n\n### Step 3: Initialize the repository\n\n```bash\ncd acre-terraform\nterraform init\n```\n\u003eThe output should include: ```Terraform has been successfully initialized```\n\n### Step 4: Optionally, modify the variables\n\nThe default variables deploy the smallest 'E10' instance into the 'East US' region.\nChanges can be made by updating the ```variables.tf``` file.\n\n\n### Step 5: Verify the plan\n\nThe 'plan' output will show you everything being created by the template.\n\n```bash\nterraform plan\n```\n\u003eThe plan step does not make any changes in Azure\n\n\n### Step 6: Apply the plan\n\nWhen the plan looks good, 'apply' the template.\n\n```bash\nterraform apply\n```\n\n### Step 7: Connect using generated output\n\nConnecting to this instance will have to be done from within the subnet that was created.\nOnly clients within the subnet can access the instance via the private link.\nThe access key is sensitive, so viewing the outputs must be requested specifically.\n\n```bash\nterraform output redisgeek_config\n```\n\u003e Example output:\n```\n{\n\"hostname\" = \"redis-developer-8jy4.eastus.redisenterprise.cache.azure.net\"\n\"access_key\" = \"DQYABC3uRMyDguE1236Xkvv3TprUcqBWTRkfgOPjs82Y=\"\n\"port\" = \"10000\"\n}\n```\n\n### Step 8: Optionally, Cleanup\n\nRemove the resources that were created.\n\n```bash\nterraform destroy\n```\n\n## About The Project\n\nThe cluster, deployed across 3-AZs, will have a 99.99 SLA that is financially backed by Azure.\nThere are no \"preview\" features or modules included in this template.\nDeployment using a private endpoint is typical for production workloads.\nThe storage account and storage container are there for exporting/importing RDB files.\n\n### See Also\n\n* [ACRE-TERRAFORM-SIMPLE](https://github.com/redis-developer/acre-terraform)\n* [Redis Developer](https://developer.redislabs.com/create/azure/)\n\n### Built With\n\n* [Terraform](https://terraform.io)\n\n### Contributing\n\nPull-requests are welcomed!\n\n## License\n\nDistributed under the MIT License. See `LICENSE` for more information.\n\n[contributors-shield]: https://img.shields.io/github/contributors/redis-developer/acre-terraform.svg?style=for-the-badge\n[contributors-url]: https://github.com/redis-developer/acre-terraform/graphs/contributors\n[forks-shield]: https://img.shields.io/github/forks/redis-developer/acre-terraform.svg?style=for-the-badge\n[forks-url]: https://github.com/redis-developer/acre-terraform/network/members\n[stars-shield]: https://img.shields.io/github/stars/redis-developer/acre-terraform.svg?style=for-the-badge\n[stars-url]: https://github.com/redis-developer/acre-terraform/stargazers\n[issues-shield]: https://img.shields.io/github/issues/redis-developer/acre-terraform.svg?style=for-the-badge\n[issues-url]: https://github.com/redis-developer/acre-terraform/issues\n[license-shield]: https://img.shields.io/github/license/redis-developer/acre-terraform.svg?style=for-the-badge\n[license-url]: https://github.com/redis-developer/acre-terraform/blob/main/LICENSE","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredis-developer%2Facre-terraform","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredis-developer%2Facre-terraform","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredis-developer%2Facre-terraform/lists"}