{"id":18697534,"url":"https://github.com/tfutils/tfscaffold-azure","last_synced_at":"2025-09-06T08:49:09.830Z","repository":{"id":78789674,"uuid":"195958233","full_name":"tfutils/tfscaffold-azure","owner":"tfutils","description":"Terraform Scaffold engineered for Azure","archived":false,"fork":false,"pushed_at":"2023-08-18T11:10:42.000Z","size":21,"stargazers_count":7,"open_issues_count":1,"forks_count":5,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-12T07:45:45.175Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/tfutils.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":"2019-07-09T07:42:15.000Z","updated_at":"2024-07-01T08:18:44.000Z","dependencies_parsed_at":"2024-11-07T11:37:10.307Z","dependency_job_id":null,"html_url":"https://github.com/tfutils/tfscaffold-azure","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tfutils/tfscaffold-azure","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tfutils%2Ftfscaffold-azure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tfutils%2Ftfscaffold-azure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tfutils%2Ftfscaffold-azure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tfutils%2Ftfscaffold-azure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tfutils","download_url":"https://codeload.github.com/tfutils/tfscaffold-azure/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tfutils%2Ftfscaffold-azure/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273879970,"owners_count":25184428,"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","status":"online","status_checked_at":"2025-09-06T02:00:13.247Z","response_time":2576,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-07T11:24:39.518Z","updated_at":"2025-09-06T08:49:09.822Z","avatar_url":"https://github.com/tfutils.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Overview\n\nSee the [tfscaffold readme](https://github.com/tfutils/tfscaffold) for information on tfscaffold this is specifically for the Azure version and the various changes required to make it work there. Additionally this contains elements for the various example components.\n\n## Required mounts\n\nThere are a number of required mounts otherwise tfscaffold wont actually know what to do. Note that tfscaffold is /tfscaffold in the container.\n\n- components (your terraform)\n- modules (any terraform modules)\n- etc (terraform variables)\n\n## Optional mounts\n\n- plugin-cache (terraform plugin-cache)\n\nPlugin-cache isnt required but it will download it every single time if you dont mount this folder.\n\n## Important changes from tfscaffold\n\napp-id, password and tenant are the important changes that have been added over the standard tfscaffold, simply because azure works differently. These are now required when calling tfscaffold.\n\n## Examples\n\n### Bootstrap\n\nWindows\n\n``` powershell\ndocker run -v C:\\git\\my_project\\tfscaffold\\components\\:/tfscaffold/components `\n           -v C:\\git\\my_project\\tfscaffold\\etc\\:/tfscaffold/etc `\n           -v C:\\git\\my_project\\tfscaffold\\modules\\:/tfscaffold/modules `\n           -v C:\\git\\my_project\\tfscaffold\\plugin-cache\\:/tfscaffold/plugin-cache `\ntfscaffold -a apply -r uksouth -p demo --bootstrap `\n--app-id 'some-app-id' `\n--password 'some-password' `\n--tenant 'some-tenant'\n```\n\nLinux\n\n``` bash\ndocker run -v ~/git/jumpbox/tfscaffold/components/:/tfscaffold/components \\\n           -v ~/git/jumpbox/tfscaffold/etc/:/tfscaffold/etc \\\n           -v ~/git/jumpbox/tfscaffold/modules/:/tfscaffold/modules \\\n           -v ~/git/jumpbox/tfscaffold/plugin-cache/:/tfscaffold/plugin-cache \\\nmikewinterbjss/tfscaffold -a apply -r uksouth -p changeme --bootstrap \\\n--app-id 'some-app-id' \\\n--password 'some-password' \\\n--tenant 'some-tenant'\n```\n\n### Keyvault (plan/apply etc)\n\nAgain this is an example but its the core password management function of this piece of work. If you think there is a better way to manage the secrets / passwords etc... feel free to create an example component.\n\nIn essence the keyvault is created and a random string generator creates a number of secrets, these are then output into the remote state. The remote state can then be used elsewhere and that way none of the passwords are added to a tf file.\n\nWindoze\n\n``` powershell\ndocker run -v C:\\git\\jumpbox\\tfscaffold\\components\\:/tfscaffold/components `\n           -v C:\\git\\jumpbox\\tfscaffold\\etc\\:/tfscaffold/etc `\n           -v C:\\git\\jumpbox\\tfscaffold\\modules\\:/tfscaffold/modules `\n           -v C:\\git\\jumpbox\\tfscaffold\\plugin-cache\\:/tfscaffold/plugin-cache `\nmikewinterbjss/tfscaffold -a plan -r uksouth -p changeme -e demo -c keyvault `\n--app-id 'some-app-id' `\n--password 'some-password' `\n--tenant 'some-tenant'\n```\n\nLinux\n\n``` powershell\ndocker run -v ~/git/jumpbox/tfscaffold/components/:/tfscaffold/components \\\n           -v ~/git/jumpbox/tfscaffold/etc/:/tfscaffold/etc \\\n           -v ~/git/jumpbox/tfscaffold/modules/:/tfscaffold/modules \\\n           -v ~/git/jumpbox/tfscaffold/plugin-cache/:/tfscaffold/plugin-cache \\\nmikewinterbjss/tfscaffold -a plan -r uksouth -p changeme -e demo -c keyvault \\\n--app-id 'some-app-id' \\\n--password 'some-password' \\\n--tenant 'some-tenant'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftfutils%2Ftfscaffold-azure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftfutils%2Ftfscaffold-azure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftfutils%2Ftfscaffold-azure/lists"}