Terraform provider for Xen Orchestra
-
What is Terraform?
Terraform enables you to safely and predictably create, change, and improve infrastructure. It is an open source tool that codifies APIs into declarative configuration files that can be shared amongst team members, treated as code, edited, reviewed, and versioned.
XO compatibility
We immediately saw that would be a good idea to get this for XO. That's why I created an issue in this way, hoping for someone to make it real one day: https://github.com/terra-farm/terraform-provider-xenserver/issues/7
Thanks to Dom Del Nano, you can now use Terraform to talk directly to your central XO instance. This way, you have one entry point to configure everything:
https://terra-farm.github.io/provider-xenorchestra/index.html
Note: more documentation will come soon.
Legacy: XCP-ng plugin
Before that, a XenServer/XCP-ng plugin already existed, but the drawback was the need to connect a specific pool master to do your operation, losing the main advantage of this kind of platform: simplicity with always one entry point.
-
Hi @olivierlambert - how do I install the plugin...could not find a repo to compile with go
https://www.terraform.io/docs/providers/type/community-index.html
-
Plugin is here: https://github.com/terra-farm/terraform-provider-xenorchestra
However, I'm not a terraform expert, you should ask here: https://github.com/terra-farm/terraform-provider-xenorchestra/issues
-
I have compiled the plugin on xcp-ng 8 but it don't work at all it ask for a old api plugin