Skip to content

gaojunc/terraform-provider-xenserver

 
 

Repository files navigation

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.

About

XenServer provider for Terraform

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 94.2%
  • Shell 3.2%
  • Makefile 1.4%
  • HTML 1.2%