VergeOS Terraform Provider
The VergeOS Terraform Provider enables infrastructure-as-code management of VergeOS resources including VMs, networks, and users through Terraform and OpenTofu configurations.
Overview
The VergeOS Terraform Provider enables infrastructure-as-code management of your VergeOS environment. This provider allows you to define, deploy, and manage VergeOS resources using Terraform configurations, providing automation capabilities for your virtual infrastructure management.
Key Features
Automated provisioning of VergeOS virtual machines, networks, drives, and users
Infrastructure-as-code workflows for VergeOS environments
Version-controlled infrastructure deployments
Integration with existing Terraform and OpenTofu workflows
Reproducible environment creation and management
Installation and Configuration
To use the VergeOS Terraform Provider, add the following to your Terraform configuration:
terraform {
required_providers {
vergeio = {
source = "verge-io/vergeio"
version = "~> 0.1.0"
}
}
}
provider "vergeio" {
host = "your-vergeos-ip-or-hostname"
username = "your-username"
password = "your-password"
}For OpenTofu users, the configuration remains the same:
Available Resources
The provider supports management of the following VergeOS resources:
vergeio_vm- Create and manage virtual machinesvergeio_network- Configure and manage virtual networksvergeio_user- Provision and manage storage resources
Usage Examples
Creating a Virtual Machine
Configuring a Network
Documentation and Resources
For complete documentation, including all supported resources, data sources, and detailed usage examples, please visit the official provider documentation:
Support
If you encounter issues or have feature requests, please open an issue on the GitHub repository:
Additional Resources
Last updated
Was this helpful?