Skip to content

Latest commit

 

History

History
46 lines (34 loc) · 2 KB

File metadata and controls

46 lines (34 loc) · 2 KB

Continuous Integration Github Release

Terraform Provider for XenServer

You can now create a VM on XenServer 8!

How to Build and Use

  1. 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.

  2. 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.

  3. Move the terraform-provider-xenserver binary into the new directory and rename to terraform-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"
  }
}

History

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.