Skip to content

Commit a93a6c8

Browse files
committedDec 21, 2024
Add VM test configuration
1 parent 229e0ef commit a93a6c8

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed
 

‎terraform/proxmox/test.tf

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
resource "proxmox_virtual_environment_vm" "test" {
2+
node_name = "prox"
3+
vm_id = "9996"
4+
name = "test"
5+
description = "test"
6+
7+
cpu {
8+
cores = "2"
9+
type = "host"
10+
}
11+
12+
memory {
13+
dedicated = "2048"
14+
}
15+
16+
network_device {
17+
bridge = "vmbr0"
18+
vlan_id = "1"
19+
}
20+
21+
disk {
22+
datastore_id = "Fast2Tb"
23+
size = "20"
24+
}
25+
26+
clone {
27+
vm_id = "9996"
28+
}
29+
30+
initialization {
31+
ip_config {
32+
ipv4 {
33+
address = "dhcp"
34+
}
35+
}
36+
37+
user_data_file_id = proxmox_virtual_environment_file.cloud_config.id
38+
}
39+
}

0 commit comments

Comments
 (0)
Please sign in to comment.