https://github.com/rgl/terraform-proxmox-debian-example
example on how to launch a debian vm using terraform in proxmox
https://github.com/rgl/terraform-proxmox-debian-example
debian proxmox terraform
Last synced: 2 months ago
JSON representation
example on how to launch a debian vm using terraform in proxmox
- Host: GitHub
- URL: https://github.com/rgl/terraform-proxmox-debian-example
- Owner: rgl
- Created: 2023-10-06T15:32:01.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-28T13:25:09.000Z (over 1 year ago)
- Last Synced: 2024-12-31T11:06:16.472Z (over 1 year ago)
- Topics: debian, proxmox, terraform
- Language: Shell
- Homepage:
- Size: 40 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Usage (from a Ubuntu 24.04 host)
[](https://github.com/rgl/terraform-proxmox-debian-example/actions/workflows/lint.yml)
Create and install the [base Debian 13 vagrant template](https://github.com/rgl/debian-vagrant).
Install Terraform:
```bash
# see https://github.com/hashicorp/terraform/releases
# renovate: datasource=github-releases depName=hashicorp/terraform
terraform_version='1.14.7'
wget "https://releases.hashicorp.com/terraform/$terraform_version/terraform_${$terraform_version}_linux_amd64.zip"
unzip "terraform_${$terraform_version}_linux_amd64.zip"
sudo install terraform /usr/local/bin
rm terraform terraform_*_linux_amd64.zip
```
Set your proxmox details:
```bash
# see https://registry.terraform.io/providers/bpg/proxmox/latest/docs#argument-reference
# see https://github.com/bpg/terraform-provider-proxmox/blob/v0.98.1/proxmoxtf/provider/provider.go#L52-L61
cat >secrets-proxmox.sh <