An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# Usage (from a Ubuntu 24.04 host)

[![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)

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 <