{"id":15779949,"url":"https://github.com/rgl/terraform-proxmox-debian-example","last_synced_at":"2026-04-17T10:03:59.803Z","repository":{"id":208968594,"uuid":"701418241","full_name":"rgl/terraform-proxmox-debian-example","owner":"rgl","description":"example on how to launch a debian vm using terraform in proxmox","archived":false,"fork":false,"pushed_at":"2024-09-28T13:25:09.000Z","size":41,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-31T11:06:16.472Z","etag":null,"topics":["debian","proxmox","terraform"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/rgl.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-10-06T15:32:01.000Z","updated_at":"2024-09-28T13:25:12.000Z","dependencies_parsed_at":"2024-04-20T19:30:30.983Z","dependency_job_id":"d8719055-bab2-4700-8017-fa53bc10cd16","html_url":"https://github.com/rgl/terraform-proxmox-debian-example","commit_stats":null,"previous_names":["rgl/terraform-proxmox-debian-example"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgl%2Fterraform-proxmox-debian-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgl%2Fterraform-proxmox-debian-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgl%2Fterraform-proxmox-debian-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgl%2Fterraform-proxmox-debian-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rgl","download_url":"https://codeload.github.com/rgl/terraform-proxmox-debian-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246492479,"owners_count":20786376,"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":["debian","proxmox","terraform"],"created_at":"2024-10-04T18:22:03.845Z","updated_at":"2026-04-17T10:03:59.790Z","avatar_url":"https://github.com/rgl.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Usage (from a Ubuntu 24.04 host)\n\n[![Lint](https://github.com/rgl/terraform-proxmox-debian-example/actions/workflows/lint.yml/badge.svg)](https://github.com/rgl/terraform-proxmox-debian-example/actions/workflows/lint.yml)\n\nCreate and install the [base Debian 13 vagrant template](https://github.com/rgl/debian-vagrant).\n\nInstall Terraform:\n\n```bash\n# see https://github.com/hashicorp/terraform/releases\n# renovate: datasource=github-releases depName=hashicorp/terraform\nterraform_version='1.14.7'\nwget \"https://releases.hashicorp.com/terraform/$terraform_version/terraform_${$terraform_version}_linux_amd64.zip\"\nunzip \"terraform_${$terraform_version}_linux_amd64.zip\"\nsudo install terraform /usr/local/bin\nrm terraform terraform_*_linux_amd64.zip\n```\n\nSet your proxmox details:\n\n```bash\n# see https://registry.terraform.io/providers/bpg/proxmox/latest/docs#argument-reference\n# see https://github.com/bpg/terraform-provider-proxmox/blob/v0.98.1/proxmoxtf/provider/provider.go#L52-L61\ncat \u003esecrets-proxmox.sh \u003c\u003cEOF\nunset HTTPS_PROXY\n#export HTTPS_PROXY='http://localhost:8080'\nexport TF_VAR_proxmox_pve_node_address='192.168.1.21'\nexport PROXMOX_VE_INSECURE='1'\nexport PROXMOX_VE_ENDPOINT=\"https://$TF_VAR_proxmox_pve_node_address:8006\"\nexport PROXMOX_VE_USERNAME='root@pam'\nexport PROXMOX_VE_PASSWORD='vagrant'\nEOF\nsource secrets-proxmox.sh\n```\n\nCreate the infrastructure:\n\n```bash\nexport CHECKPOINT_DISABLE='1'\nexport TF_LOG='DEBUG' # TRACE, DEBUG, INFO, WARN or ERROR.\nexport TF_LOG_PATH=\"$PWD/terraform.log\"\nrm -f \"$TF_LOG_PATH\"\nterraform init\nterraform plan -out=tfplan\ntime terraform apply tfplan\n```\n\nTry the machine:\n\n```bash\nssh-keygen -f ~/.ssh/known_hosts -R \"$(terraform output --raw ip)\"\nssh \"vagrant@$(terraform output --raw ip)\"\nid\nexit\n```\n\nDestroy the infrastructure:\n\n```bash\ntime terraform destroy -auto-approve\n```\n\nList this repository dependencies (and which have newer versions):\n\n```bash\nexport GITHUB_COM_TOKEN='YOUR_GITHUB_PERSONAL_TOKEN'\n./renovate.sh\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frgl%2Fterraform-proxmox-debian-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frgl%2Fterraform-proxmox-debian-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frgl%2Fterraform-proxmox-debian-example/lists"}