Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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: 12 days 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 22.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 12 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.9.6'
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.65.0/proxmoxtf/provider/provider.go#L49-L56
cat >secrets-proxmox.sh <