Use the latest "azurerm" Terraform provider to deploy Azure Cache for Redis Enterprise (ACRE)
- Tenant
- Subscription
- Service Principal
- Resource Group
- Storage Account
- Storage Container
- VNET
- Subnet
- Redis Enterprise Cluster
- Private Link
- Between subnet and cluster
- Storage Account
- Subscription
Login using an Azure Service Principal
az login --service-principal --username APP_ID --tenant TENANT_ID --password [password || /path/to/cert]
- Terraform CLI v1.0.1
git clone https://github.com/redisgeek/acre-terraform
cd acre-terraform
terraform init
The output should include:
Terraform has been successfully initialized!
Copy the variables template.
cp terraform.tfvars.example terraform.tfvars
Update terraform.tfvars with your secrets
terraform plan
terraform apply
Remove the resources that were created.
terraform destroy