Vortex Manipulator
This is at the moment how we're planning on deploying our HTB VMs, but in the future will (hopefully) be leveraged for proxmox management.
I cannot stress enough how important it is that you complete every step (especially the last one), otherwise things will be much harder to work with
Simple instructions:
- Clone the repository on your sandbox
- While in that directory, run
terraform init
to initialize the project. - Grab the API Key from vaultwarden (listed as "Terraform Proxmox API Key"), and read the instructions in the description
- Make whatever changes you'd like to make to the configuration.
- Run
terraform plan
to see the changes, andterraform apply
to actually apply them. - Add everything back to the repository and commit the changes, if you don't do this, the state will get messed up and things will be difficult to repair.
Here's the command for you if you're that lazy: git add * && git commit -m "Updated terraform and didnt change the commit message" && git push
Changes to make in the future:
- Create CI pipelines to automatically apply changes, hence avoiding the risk of state issues
- Model significantly more of Tardis with terraform configurations
- Use these configurations to create a reproducible testing environment