Skip to content

dylanbegin/terraform-iso-get

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Warning

This README is still under development!

󱛟 Terraform Repo To Pull And Update ISOs

Important

This repo is built for my own environment so please review all configurations to verify compatibility!

This repo provides the automation for pulling all the latest images and storing them in Proxmox. My packer repo will try to pull from the internet first and if that falls will then use the local iso built off this repo.

Tip

This repo is part of my IaC automation series. If you are building this in mind please follow my repo's in the order below.

  1. you are here terraform-iso-get
  2. packer
  3. terraform-core
  4. ansible
  5. terraform-talos
  6. k8s-apps

Build Your Secrets File

Keeping in best practice, this repo does not contain any sensitive information. You will need to create a directory outside of this git repo on a properly encrypted disk/usb to save the secrets file. Below is the template needed for the file which needs to be named tf-secrets.tfvars.

# This is a sensitive file. Do not share!
# All variables for all Terraform files.

pve_host      = "pve1.example.com:8006"
pve_api_token = "username@pam!build"
pve_ssh_user  = "username"
pve_ssh_pass  = "MY-PASSWORD"

Build the Repo

To run the terraform build, follow the steps below.

  1. Go into Terraform directory: cd ~/path-to/terraform-iso-get
  2. Initiate the workspace: terraform init
  3. Validate the build: terraform plan -var-file={path/to/secrets/}tf-secrets.tfvars
  4. Run the build: terraform apply -var-file={path/to/secrets/}tf-secrets.tfvars

Current Images Supported

Important

Distro flavor choice is based off the latest, stable, slim version availible.

I try to keep these up to date but if you get any failures, the first thing to check would be if the image link is out of date.

OS Version VMID Status
Alma 9.5 1000 Completed
Alpine 3.21 1001 Completed
Antix 22 1002
󰣇 Arch rolling 1003
Artix rolling 1004
Centos Streams 10 1005 Completed
ClearOS rolling 1006
Core 15 1007
󰣚 Debian 12.9 1008 Commpleted
Elementary 7.1 1009
Endeavour Gemini 1010
󰣛 Fedora 41 1011 Completed
󰣠 FreeBSD 13.3 1012
󰣨 Gentoo rolling 1013
Kali rolling 1014 initrd err
Kali Purple rolling 1015
󱘊 Manjaro 23.1 1016
󰣭 Mint 22.2 1017
󱄅 Nix 23.11 1018
OpenBSD 7.5 1019
OpenSUSE Tumbleweed 1020
Parrot 6.2 1021
Peppermint rolling 1022
Pop! 22.04 1023
QubesOS 4.2 1024
Rocky 9.5 1025 Completed
󰕈 Ubuntu 24.10 1027 Completed
Vanilla 22.10 1028
Void glibc 1029
Windows 11 1030
Zorin 17.1 1031

About

Terraform deployment to update iso images used for Proxmox.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages