Terraform for ZSvirt
Manage ZSvirt infrastructure as code with the official Terraform provider.
The ZSvirt Terraform provider enables you to define and manage cloud infrastructure on the ZSvirt platform using Terraform. Use it to automate virtual machines, networks, storage, and related platform resources.
ZSvirt was open-sourced from the ZStack ZSphere commercial project and has since developed independently. Some code, configuration, and documentation still retain historical ZStack/ZSphere names (such as environment variables, configuration items, dependencies, paths, and commands). These names are for compatibility only and do not affect the normal use of ZSvirt.
Requirements
Supported versions
| Terraform Version | Minimum Provider Version | Maximum Provider Version |
|---|---|---|
| >= 1.10.4 | 1.0.0 | latest |
Guide sections
Getting Started
Provider configuration and environment variables.
Provider Configuration
Authentication options and provider schema.
Instance Management
Create VMs from images or templates.
Resources
Manage ZSvirt resources with Terraform.
Data Sources
Query existing ZSvirt resources.
Known Limitations
Differences compared to the ZSvirt UI.
Building and Testing
Build the provider locally and run tests.