Creating a virtual machine on Unraid using Terraform IaC


Recommended Posts

 

Hey Y'all
 

I've been working on getting Terraform IaC to deploy virtual machines on Unraid and wanted to share the code so no-one else has to go through my pain of making it work.
 

https://github.com/chrisreeves-/scripts/tree/master/terraform/unraid

 

It nicely downloads the cloud image and creates a username on it for you all with the help of libvirt and virsh
 

All I ask is for a star on the repo :)

Edited by Chris Reeves
  • Like 6
Link to comment

This may very well be what I've been looking for! (I was looking into salt just a little while ago)

But, I am new to Terraform. Could you post instructions on the github? I'm excited to try it out on my unraid. (I was just trying to get some cloud images up and running in unraid's KVM with no luck. I'm sure I was missing something simple, because I think I've done it before) So, I'd love to give this a try!

Link to comment
  • 1 month later...
  • 5 weeks later...
  • 2 weeks later...
  • 2 months later...
  • 2 weeks later...

Is there someone that would make a short video what for changes need to be done to get this running? i setup everything i understood sofar, but it would be helpful to know what for values needs to be altered on the .tf files and .cfg , aswell what needs to be done on the unraid system regarding the password etc. for a working connection. I worked with terraform before but with Azure. 

Link to comment
  • 7 months later...
On 6/1/2023 at 3:10 AM, InU5BoN3 said:

Is there someone that would make a short video what for changes need to be done to get this running? i setup everything i understood sofar, but it would be helpful to know what for values needs to be altered on the .tf files and .cfg , aswell what needs to be done on the unraid system regarding the password etc. for a working connection. I worked with terraform before but with Azure. 

It is all in the readme.md

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.