Xen Orchestra provider for Terraform
Terraform Provider for Xen Orchestra
This is a terraform provider for Xen Orchestra.
Docs
The terraform provider is documented on the terraform registry page
General documentation about providers in terraform can be found at the terraform documentation.
Install
If using terraform 0.13, terraform is able to install the provider automatically for you. See this for more details.
If using terraform 0.12 or lower download a suitable binary from the releases and copy it to ~/.terraform.d/plugins/terraform-provider-xenorchestravX.Y.Z where X.Y.Z is the version.
Debugging and Logs
The provider supports detailed logging for troubleshooting and debugging purposes.
Enable Provider Logs
To enable debug logging, set the TFLOGPROVIDER environment variable:
export TFLOGPROVIDER=DEBUG
terraform plan
Terraform Log Levels
You can control the level of provider logging with the TFLOGPROVIDER environment variable:
export TFLOGPROVIDER=DEBUG
terraform apply
Valid TFLOGPROVIDER levels are: TRACE, DEBUG, INFO, WARN, ERROR.
Log to File
To save logs to a file for analysis:
export TFLOGPROVIDER=DEBUG
export TFLOGPATH=./terraform.log
terraform apply
Note: Only enable debug logging when troubleshooting, as it can significantly increase log verbosity and may impact performance.
Support
You can discuss any issues you have or feature requests in Discord.