diff --git a/deployment/run/tf-proxmox-template/main.tf b/deployment/run/tf-proxmox-template/main.tf index ec4dcc61..453b3d61 100644 --- a/deployment/run/tf-proxmox-template/main.tf +++ b/deployment/run/tf-proxmox-template/main.tf @@ -38,6 +38,9 @@ data "external" "hash" { # - hash in name over overwrite # won't notice file changes: https://github.com/bpg/terraform-provider-proxmox/issues/677 resource "proxmox_virtual_environment_file" "upload" { + depends_on = [ + data.external.hash, + ] content_type = "import" # https://192.168.51.81:8006/#v1:0:=storage%2Fnode051%2Flocal:4::=contentIso::::: # PVE -> Datacenter -> Storage -> local -> Edit -> General -> Content -> check Import + Disk Images -> OK