{"id":28918077,"url":"https://github.com/funsaized/azure-terraform-generator","last_synced_at":"2026-01-31T09:02:16.688Z","repository":{"id":102027955,"uuid":"175236186","full_name":"funsaized/azure-terraform-generator","owner":"funsaized","description":"🚧 CLI tool to query resources within a Microsoft Azure deployment and generate terraform definitions for existing objects","archived":false,"fork":false,"pushed_at":"2019-06-11T17:04:14.000Z","size":50,"stargazers_count":2,"open_issues_count":5,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-22T01:50:08.092Z","etag":null,"topics":["automation","azure","cicd","cli","cloud","devops","devops-tools","go","golang","infrastructure-as-code","microsoft","terraform"],"latest_commit_sha":null,"homepage":"","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/funsaized.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2019-03-12T15:00:00.000Z","updated_at":"2023-05-09T23:46:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"4a01b432-307f-4eeb-a464-611d720b9652","html_url":"https://github.com/funsaized/azure-terraform-generator","commit_stats":null,"previous_names":["funsaized/azure-terraform-generator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/funsaized/azure-terraform-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/funsaized%2Fazure-terraform-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/funsaized%2Fazure-terraform-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/funsaized%2Fazure-terraform-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/funsaized%2Fazure-terraform-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/funsaized","download_url":"https://codeload.github.com/funsaized/azure-terraform-generator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/funsaized%2Fazure-terraform-generator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28936100,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T08:53:31.997Z","status":"ssl_error","status_checked_at":"2026-01-31T08:51:38.521Z","response_time":128,"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":["automation","azure","cicd","cli","cloud","devops","devops-tools","go","golang","infrastructure-as-code","microsoft","terraform"],"created_at":"2025-06-22T01:41:26.286Z","updated_at":"2026-01-31T09:02:16.676Z","avatar_url":"https://github.com/funsaized.png","language":"Go","readme":"# Azure Terraform Generator\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/snimmagadda1/azure-terraform-generator)](https://goreportcard.com/report/github.com/snimmagadda1/azure-terraform-generator)\n\nAzure API -\u003e Terraform Resources\n\n## Overview\n\n---\n\nThis is a work in progress initiative to create a CLI tool to generate Terraform definitions for Azure resources. The idea for this came about when teams I've worked with had existing Azure resources but were lacking terraform definitions, subsequently slowing down migrations \u0026 time to production.\n\n## Usage\nSimply clone the repository \u0026 install or install with `go get` to expose the cli:\n```\ngit clone https://github.com/snimmagadda1/azure-terraform-generator.git\ngo install\n```\n\nAs a prerequisite to using the azure apis, credentials must be provided. Currently a file-based credential method is supported. As this project is built out, more authorization methods will be supported.\n\nThe simplest way to obtain this file is throughthe creation of an Azure service principal. Either download the credentials of an existing service principal to a file my.auth in the root directory or create a new service principal as follows:\n\n```\naz ad sp create-for-rbac --sdk-auth \u003e my.auth\n```\n\nNext set an environment variable `AZURE_AUTH_LOCATION` to the location of my.auth:\n\n```\nexport AZURE_AUTH_LOCATION=$HOME/my.auth\n```\n\n### Commands\n\n```\nUsage:\n  azure-terraform-generator [command]\n\nAvailable Commands:\n  group        Generate terraform resource for an Azure Resource Group\n  help         Help about any command\n  loadbalancer Generate a terraform resource for an Azure load balancer\n  publicip     Generate terraform resource for an Azure Public IP Address\n  version      Print the version number of azure-terraform-generator\n\nFlags:\n  -h, --help   help for azure-terraform-generator\n\nUse \"azure-terraform-generator [command] --help\" for more information about a command.\n```\n\nCurrently supported Azure Objects -\u003e Terraform resources:\n\n1. [ResourceGroup](https://www.terraform.io/docs/providers/azurerm/d/resource_group.html)\n2. [Public IP Address](https://www.terraform.io/docs/providers/azurerm/r/public_ip.html)\n3. [Load Balancer](https://www.terraform.io/docs/providers/azurerm/r/loadbalancer.html)\n\n\n## TODO\n\nThis project is just getting started, so stay tuned!\n\n## Authors\n\n- **Sai Nimmagadda** - _Initial implementation_ - [snimmagadda1](https://github.com/snimmagadda1)\n\n## Packages \n* [spf13/cobra](https://github.com/spf13/cobra#flags)\n* [Azure/azure-sdk-for-go](https://github.com/Azure/azure-sdk-for-go)\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffunsaized%2Fazure-terraform-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffunsaized%2Fazure-terraform-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffunsaized%2Fazure-terraform-generator/lists"}