{"id":22260939,"url":"https://github.com/piyushsachdeva/terraform-azuredevops-sample","last_synced_at":"2025-04-11T17:32:25.474Z","repository":{"id":210172724,"uuid":"725909889","full_name":"piyushsachdeva/Terraform-AzureDevOps-Sample","owner":"piyushsachdeva","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-03T06:42:23.000Z","size":5,"stargazers_count":12,"open_issues_count":0,"forks_count":60,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-01T13:46:09.788Z","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/piyushsachdeva.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":"2023-12-01T05:57:14.000Z","updated_at":"2025-02-18T09:43:43.000Z","dependencies_parsed_at":"2024-12-03T09:11:01.460Z","dependency_job_id":"5449ec7c-5bd8-445a-87b1-d9586b941424","html_url":"https://github.com/piyushsachdeva/Terraform-AzureDevOps-Sample","commit_stats":null,"previous_names":["piyushsachdeva/terraform-azuredevops-sample"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piyushsachdeva%2FTerraform-AzureDevOps-Sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piyushsachdeva%2FTerraform-AzureDevOps-Sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piyushsachdeva%2FTerraform-AzureDevOps-Sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piyushsachdeva%2FTerraform-AzureDevOps-Sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/piyushsachdeva","download_url":"https://codeload.github.com/piyushsachdeva/Terraform-AzureDevOps-Sample/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248449923,"owners_count":21105585,"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-12-03T09:10:51.578Z","updated_at":"2025-04-11T17:32:25.449Z","avatar_url":"https://github.com/piyushsachdeva.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Terraform-AzureDevOps-Sample\n\n### You can use the below Azure cli commands to set the terraform remote backend, or you can do it via the portal\n\n``` shell\n#!/bin/bash\n## The Storage account name must be unique, and the values below should match your backend.tf\nRESOURCE_GROUP_NAME=demo-resources\nSTORAGE_ACCOUNT_NAME=techtutorialswithpiyush\nCONTAINER_NAME=prod-tfstate\n\n# Create resource group\naz group create --name $RESOURCE_GROUP_NAME --location canadacentral\n\n# Create storage account\naz storage account create --resource-group $RESOURCE_GROUP_NAME --name $STORAGE_ACCOUNT_NAME --sku Standard_LRS --encryption-services blob\n\n# Create blob container\naz storage container create --name $CONTAINER_NAME --account-name $STORAGE_ACCOUNT_NAME\n```\n\n## Usage/Examples\n\n### 1) login to the CLI\n```shell\naz login --use-device-code\n```\n### 2) set alias\n```shell\nalias tf=terraform\n```\n### 3) initialize the providers\n```shell\ntf init\n```\n### 4) Run the plan\n```shell\ntf plan\n```\n### 5) Apply the changes\n```shell\ntf apply --auto-approve\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiyushsachdeva%2Fterraform-azuredevops-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpiyushsachdeva%2Fterraform-azuredevops-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiyushsachdeva%2Fterraform-azuredevops-sample/lists"}