{"id":20659472,"url":"https://github.com/ialejandro/terraform-aks","last_synced_at":"2025-05-10T12:32:05.627Z","repository":{"id":122816735,"uuid":"379382925","full_name":"ialejandro/terraform-aks","owner":"ialejandro","description":"Deploy AKS with Terraform","archived":true,"fork":false,"pushed_at":"2024-02-07T08:37:37.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-10T01:24:45.671Z","etag":null,"topics":["aks","azure","kubernetes","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/ialejandro.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-06-22T19:43:52.000Z","updated_at":"2024-07-03T21:45:50.000Z","dependencies_parsed_at":"2024-02-07T09:40:35.630Z","dependency_job_id":"999e4f90-74c5-482b-97d9-e634b3201811","html_url":"https://github.com/ialejandro/terraform-aks","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/ialejandro%2Fterraform-aks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ialejandro%2Fterraform-aks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ialejandro%2Fterraform-aks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ialejandro%2Fterraform-aks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ialejandro","download_url":"https://codeload.github.com/ialejandro/terraform-aks/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253415673,"owners_count":21904901,"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":["aks","azure","kubernetes","terraform"],"created_at":"2024-11-16T18:34:28.178Z","updated_at":"2025-05-10T12:32:05.599Z","avatar_url":"https://github.com/ialejandro.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Terraform AKS deploy\n\n## Documentation\n\n* [Azure provider](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs)\n* [AKS module](https://registry.terraform.io/modules/Azure/aks/azurerm/latest)\n* [Network module](https://registry.terraform.io/modules/Azure/network/azurerm/latest)\n* [AKS Release version](https://docs.microsoft.com/en-US/azure/aks/supported-kubernetes-versions#azure-portal-and-cli-versions)\n\n## Requirements\n\n* Terraform: `\u003e= v0.15.0`\n* Configure Azure subscription\n* The VPC must be exists\n* The subnets must be exists\n* Require `azure-cli` ([how-to-install](https://docs.microsoft.com/en-US/cli/azure/install-azure-cli))\n\n## First steps!\n\n1. Create Storage to save `.tfstate`\n2. Modify `config.tf` with properly `subscription_id`, `storage_account_name` and `resource_group_name`\n3. Modify `aks.auto.tfvars` with your values\n4. Install all dependencies and providers: `terraform init`\n5. Deploy: `terraform apply`\n\n## Files\n\n* `config.tf`: providers, requirements and backend for Terraform\n* `aks.auto.tfvars`: values for deployment\n* `main.tf`: main file with AKS resource\n* `outputs.tf`: output resources\n* `variables.tf`: declare all variables with default values\n\n## Default values\n\n```bash\n# AKS\n## GENERAL\naks_rg_name      = \"my-resource-group\"\naks_cluster_name = \"cluster\"\naks_version      = \"1.19.7\"\naks_nr_workers   = 3\n\n## WORKERS\naks_worker_volume_size = 100\n```\n\n## Tests\n\n* (Average) Complete deployment: ~10 minutes\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fialejandro%2Fterraform-aks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fialejandro%2Fterraform-aks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fialejandro%2Fterraform-aks/lists"}