You can now create a VM on XenServer 8!
-
To compile the provider, clone this repository and run the following command from the repository root:
go build
This should create a binary called
terraform-provider-xenserver. -
Create the following directory in the user directory:
.terraform.d/plugins/terraform.local/local/xenserver/0.3.1/<OS_ARCH>/
The OS architecture will look something like
linux_amd64. See Terraform documentation for recommended combinations. -
Move the
terraform-provider-xenserverbinary into the new directory and rename toterraform-provider-xenserver_v0.3.1.mv terraform-provider-xenserver \ ~/.terraform.d/plugins/terraform.local/local/xenserver/0.3.1/<OS_ARCH>/terraform-provider-xenserver_v0.3.1
This should now be recognised as a local provider by Terraform and can be set as a required provider in the following format:
required_providers {
xenserver = {
source = "terraform.local/local/xenserver"
version = "0.3.1"
}
}This repository was forked from terra-farm/terraform-provider-xenserver on 2nd June 2023 after ownership was transferred to XenServer. Many thanks to the original creators in the terra-farm project and their community for working on this.
Website: Xenserver Provider
If you want to add documentation, your starting point is the modules folder.