{"id":20926227,"url":"https://github.com/will8ug/learn-terraform-aks","last_synced_at":"2026-02-07T20:30:47.409Z","repository":{"id":217896428,"uuid":"744932420","full_name":"will8ug/learn-terraform-aks","owner":"will8ug","description":null,"archived":false,"fork":false,"pushed_at":"2024-07-11T13:30:05.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-31T04:41:47.306Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/will8ug.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-01-18T09:52:17.000Z","updated_at":"2024-07-11T13:30:09.000Z","dependencies_parsed_at":"2024-11-19T06:01:16.791Z","dependency_job_id":null,"html_url":"https://github.com/will8ug/learn-terraform-aks","commit_stats":null,"previous_names":["azure-pocs/learn-terraform-aks","will8ug/learn-terraform-aks"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/will8ug/learn-terraform-aks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/will8ug%2Flearn-terraform-aks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/will8ug%2Flearn-terraform-aks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/will8ug%2Flearn-terraform-aks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/will8ug%2Flearn-terraform-aks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/will8ug","download_url":"https://codeload.github.com/will8ug/learn-terraform-aks/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/will8ug%2Flearn-terraform-aks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29208161,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T20:13:33.422Z","status":"ssl_error","status_checked_at":"2026-02-07T20:13:31.455Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-11-18T20:37:19.213Z","updated_at":"2026-02-07T20:30:47.393Z","avatar_url":"https://github.com/will8ug.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# learn-terraform-aks\n\nPractices of this guide: [Quickstart - Deploy an AKS using Terraform](https://learn.microsoft.com/en-us/azure/aks/learn/quick-kubernetes-deploy-terraform?tabs=bash). The sample repository is [here](https://github.com/Azure-Samples/aks-store-demo).\n\nRelevant commands of this repository:\n```shell\naz login\naz account show\naz account list --query \"[?user.name=='\u003cmicrosoft_account_email\u003e'].{Name:name, ID:id, Default:isDefault}\" --output Table\n\n# no need of this if using Terraform Cloud\nprintenv | grep '^ARM*'\n# login first if using Terraform Cloud\nterraform login\n\nterraform init -upgrade\nterraform plan -out main.tfplan\nterraform apply main.tfplan\n\nresource_group_name=$(terraform output -raw resource_group_name)\n\naz aks list \\\n    --resource-group $resource_group_name \\\n    --query \"[].{\\\"K8s cluster name\\\":name}\" \\\n    --output table\n\necho \"$(terraform output kube_config | grep -v EOT)\" \u003e ./azurek8s\ncat ./azurek8s\n\nexport KUBECONFIG=./azurek8s\n\nkubectl get nodes\n\nkubectl apply -f apps/aks-store-quickstart.yml\n\nkubectl get pods\n# Get the public IP:\nkubectl get svc store-front -w\n# Open browser to view the website using the above public IP\n\nterraform plan -destroy -out main.destroy.tfplan\nterraform apply main.destroy.tfplan\n\n\n### helper commands ###\naz account list-locations -o table\n\naz vm list-sizes --location koreasouth -o table\naz vm list-skus --location koreasouth -o table\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwill8ug%2Flearn-terraform-aks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwill8ug%2Flearn-terraform-aks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwill8ug%2Flearn-terraform-aks/lists"}