Restore simple-vm without module
This commit is contained in:
12
terraform/projects/simple-vm-with-module/main.tf
Normal file
12
terraform/projects/simple-vm-with-module/main.tf
Normal file
@@ -0,0 +1,12 @@
|
||||
module "pve_vm" {
|
||||
source = "../../modules/pve_vm"
|
||||
node_name = "zenith"
|
||||
vm_name = "zenith-vm"
|
||||
vm_cpu = 2
|
||||
vm_ram = 2048
|
||||
vm_vlan = 66
|
||||
}
|
||||
|
||||
output "vm_ip" {
|
||||
value = module.pve_vm.vm_ip
|
||||
}
|
Reference in New Issue
Block a user