mirror of
https://github.com/outbackdingo/terraform-provider-proxmox.git
synced 2026-01-27 10:20:40 +00:00
23 lines
520 B
HCL
23 lines
520 B
HCL
terraform {
|
|
required_version = ">= 0.14"
|
|
required_providers {
|
|
proxmox = {
|
|
source = "telmate/proxmox"
|
|
}
|
|
}
|
|
}
|
|
|
|
# Using proxmox from a vagrant e.g. https://github.com/rgl/proxmox-ve
|
|
provider "proxmox" {
|
|
pm_tls_insecure = true
|
|
pm_api_url = "https://10.10.10.2:8006/api2/json"
|
|
pm_user = "root@pam"
|
|
pm_password = "vagrant"
|
|
}
|
|
|
|
resource "proxmox_vm_qemu" "example" {
|
|
name = "servy-mcserverface"
|
|
description = "A test for using terraform and vagrant"
|
|
target_node = "pve"
|
|
}
|