mirror of
https://gitea.fenix-dev.com/fenix-gitea-admin/iac-opentofu-private.git
synced 2025-10-27 07:43:07 +00:00
Update proxmox.tf
This commit is contained in:
@ -10,7 +10,7 @@ resource "proxmox_virtual_environment_download_file" "fedora_cloud_image" {
|
||||
content_type = "iso"
|
||||
datastore_id = "local"
|
||||
node_name = "fedora"
|
||||
url = "https://dl.fedoraproject.org/pub/fedora/linux/releases/41/Cloud/x86_64/images/Fedora-Cloud-Base-Generic-41-1.4-x86_64.qcow2"
|
||||
url = "https://dl.fedoraproject.org/pub/fedora/linux/releases/41/Cloud/x86_64/images/Fedora-Cloud-Base-Generic-41-1.4.x86_64.qcow2"
|
||||
file_name = "Fedora-Cloud-Base-41.qcow2.img"
|
||||
}
|
||||
|
||||
@ -45,6 +45,8 @@ resource "proxmox_virtual_environment_file" "fedora_user_data" {
|
||||
|
||||
|
||||
resource "proxmox_virtual_environment_vm" "proxmox-kubernetes-VM-template" {
|
||||
|
||||
depends_on = [proxmox_virtual_environment_file.fedora_user_data, proxmox_virtual_environment_download_file.fedora_cloud_image]
|
||||
name = "proxmox-kubernetes-VM-template"
|
||||
node_name = "fenix"
|
||||
vm_id = 1002
|
||||
|
||||
Reference in New Issue
Block a user