{"id":20310487,"url":"https://github.com/evry-ace/azure-iac-demo","last_synced_at":"2026-05-09T11:38:25.041Z","repository":{"id":88911576,"uuid":"402890141","full_name":"evry-ace/azure-iac-demo","owner":"evry-ace","description":"Infrastructure as Code Demonstration for Azure","archived":false,"fork":false,"pushed_at":"2023-12-15T14:44:01.000Z","size":42,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-14T12:14:03.734Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/evry-ace.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-09-03T20:27:01.000Z","updated_at":"2024-09-10T20:07:36.000Z","dependencies_parsed_at":"2024-06-21T15:41:30.050Z","dependency_job_id":"2695c1a1-7cdc-46ba-b01b-df3fb3c45b04","html_url":"https://github.com/evry-ace/azure-iac-demo","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/evry-ace%2Fazure-iac-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evry-ace%2Fazure-iac-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evry-ace%2Fazure-iac-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evry-ace%2Fazure-iac-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/evry-ace","download_url":"https://codeload.github.com/evry-ace/azure-iac-demo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241809620,"owners_count":20023787,"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":[],"created_at":"2024-11-14T17:32:34.198Z","updated_at":"2026-05-09T11:38:20.018Z","avatar_url":"https://github.com/evry-ace.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Azure Infrastructure as Code Demo\n\nInfrastructure as Code Demonstration for Azure.\n\n## Tools Overview\n\n* Terraform\n* Azure Container Instance\n* Azure Storage Accounts\n* Azure CosmosDB\n\n## Prerequsite\n\n* Azure Subscription\n\n## Setup\n\n| Variables | Description |\n|-----------|-------------|\n| `ARM_CLIENT_ID` | Azure Service Principal ID |\n| `ARM_CLIENT_SECRET` | Azure Service Principal Secret |\n| `ARM_SUBSCRIPTION_ID` | Azure Subscription ID |\n| `ARM_TENANT_ID` | Azure Tenant ID |\n| `TF_VAR_resource_group` | Azure Resource Group Name |\n\nInstall and set up the [Azure CLI][Azure CLI].\n\n[Azure CLI]: https://docs.microsoft.com/en-us/cli/azure/install-azure-cli\n\n```\naz login\naz account set --subscription=\"$ARM_SUBSCRIPTION_ID\"\n```\n\nCreate a new resource group\n\n```\naz group create --name azure-iac-demo --location westeurope\n```\n\nCreate a new Service Principal\n\n```\naz ad sp create-for-rbac \\\n  --name http://$TF_VAR_resource_group \\\n  --role contributor \\\n  --scopes /subscriptions/$ARM_SUBSCRIPTION_ID/resourceGroups/$TF_VAR_resource_group\n```\n\n## Reference\n\n* https://docs.microsoft.com/en-us/azure/developer/terraform/authenticate-to-azure\n* https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/guides/service_principal_client_secret\n* https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/container_group\n* https://docs.microsoft.com/en-us/azure/container-instances/container-instances-quickstart-portal\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevry-ace%2Fazure-iac-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fevry-ace%2Fazure-iac-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevry-ace%2Fazure-iac-demo/lists"}