https://github.com/dashaun/aks-terraform-simple
https://github.com/dashaun/aks-terraform-simple
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dashaun/aks-terraform-simple
- Owner: dashaun
- License: mit
- Created: 2023-03-23T15:50:49.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-24T15:50:59.000Z (about 3 years ago)
- Last Synced: 2025-10-12T12:43:25.522Z (8 months ago)
- Language: HCL
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Contributors][contributors-shield]][contributors-url]
[![Forks][forks-shield]][forks-url]
[![Stargazers][stars-shield]][stars-url]
[![Issues][issues-shield]][issues-url]
[![MIT License][license-shield]][license-url]
[](https://github.com/redisgeek/aks-terraform-default/actions/workflows/terraform-ci.yml)
# AKS-TERRAFORM-DEFAULT
Deploy a small AKS cluster with Terraform
## [Getting Started](#getting-started) | [About](#about-the-project) | [License](#license)
## Getting Started
### Prerequisites
1. [Terraform](https://terraform.io]) [CLI](https://terraform.io/downloads.html)
2. [Azure CLI](https://docs.microsoft.com/en-us/cli/azure/install-azure-cli)
### Step 1. Getting Started
Login to Azure using the Azure CLI
```bash
az login
```
>Login with a Service Principal will also work
Login using an Azure Service Principal
```bash
az login --service-principal --username APP_ID --tenant TENANT_ID --password [password || /path/to/cert]
```
### Step 2: Clone the repository
```bash
git clone https://github.com/redisgeek/aks-terraform-default
```
### Step 3: Initialize the repository
```bash
cd aks-terraform-default
terraform init
```
>The output should include: ```Terraform has been successfully initialized```
### Step 4: Verify the plan
The 'plan' output will show you everything being created by the template.
```bash
terraform plan
```
>The plan step does not make any changes in Azure
### Step 5: Apply the plan
When the plan looks good, 'apply' the template.
```bash
terraform apply
```
### Step 6: Optionally, Cleanup
Remove the resources that were created.
```bash
terraform destroy
```
## About The Project
Just getting started.
### See Also
* [Redis Developer](https://developer.redislabs.com/create/azure/)
### Built With
* [Terraform](https://terraform.io)
### Contributing
Pull-requests are welcomed!
## License
Distributed under the MIT License. See `LICENSE` for more information.
[contributors-shield]: https://img.shields.io/github/contributors/redisgeek/aks-terraform-default.svg?style=for-the-badge
[contributors-url]: https://github.com/redisgeek/aks-terraform-default/graphs/contributors
[forks-shield]: https://img.shields.io/github/forks/redisgeek/aks-terraform-default.svg?style=for-the-badge
[forks-url]: https://github.com/redisgeek/aks-terraform-default/network/members
[stars-shield]: https://img.shields.io/github/stars/redisgeek/aks-terraform-default.svg?style=for-the-badge
[stars-url]: https://github.com/redisgeek/aks-terraform-default/stargazers
[issues-shield]: https://img.shields.io/github/issues/redisgeek/aks-terraform-default.svg?style=for-the-badge
[issues-url]: https://github.com/redisgeek/aks-terraform-default/issues
[license-shield]: https://img.shields.io/github/license/redisgeek/aks-terraform-default.svg?style=for-the-badge
[license-url]: https://github.com/redisgeek/aks-terraform-default/blob/main/LICENSE