https://github.com/siliang-j-1225/tf-aks-acr
Simple Terraform scripts to create an AKS cluster and ACR associated with the cluster.
https://github.com/siliang-j-1225/tf-aks-acr
aks-cluster terraform-scripts
Last synced: 4 months ago
JSON representation
Simple Terraform scripts to create an AKS cluster and ACR associated with the cluster.
- Host: GitHub
- URL: https://github.com/siliang-j-1225/tf-aks-acr
- Owner: siliang-j-1225
- License: mit
- Created: 2020-04-24T07:31:36.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-24T07:48:26.000Z (about 5 years ago)
- Last Synced: 2025-01-14T15:23:33.682Z (5 months ago)
- Topics: aks-cluster, terraform-scripts
- Language: HCL
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Introduction
Simple Terraform scripts to create an AKS cluster and ACR associated with the cluster.
# Prerequisite
## Terraform cli
Quick install for windows:
```
choco install terraform
```
Other ways please refer to [Install Terraform](https://learn.hashicorp.com/terraform/getting-started/install.html).## Azure Cli
Installation please refer to [Install the Azure CLI](https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest)After installation, login to azure:
```
az login
```
Please don't forget to check which subscription you are currently in, use the following command:
```
az account show
```If you want to change to another subscription:
```
az account list --output table
```
to list all subscriptions and switch with:
```
az account set --subscription
```# Run
Check what resources will be deployed,
```
terraform plan
```
Deploy the resources,
```
terraform apply
```
# CleanDestroy the resources,
```
terraform destroy
```