Update terraform/main.tf
This commit is contained in:
@@ -1,18 +1,3 @@
|
|||||||
terraform {
|
|
||||||
required_providers {
|
|
||||||
proxmox = {
|
|
||||||
source = "telmate/proxmox"
|
|
||||||
version = "3.0.2-rc07"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
provider "proxmox" {
|
|
||||||
pm_api_url = "https://proxmox.example.com:8006/api2/json"
|
|
||||||
pm_user = "root@pam"
|
|
||||||
pm_password = "yourpassword"
|
|
||||||
pm_tls_insecure = true
|
|
||||||
}
|
|
||||||
|
|
||||||
resource "proxmox_vm_qemu" "ubuntu2404_vm" {
|
resource "proxmox_vm_qemu" "ubuntu2404_vm" {
|
||||||
name = "terraform-vm"
|
name = "terraform-vm"
|
||||||
|
|||||||
Reference in New Issue
Block a user