From eb0ffdfeba7d7faf206caba1ed483171a84dbe87 Mon Sep 17 00:00:00 2001 From: Clint Branham Date: Wed, 25 Mar 2026 14:19:02 -0500 Subject: [PATCH] fix: include Docker storage resources in version-filtered Terraform targets When provisioning a subset of versions (-Version 9), the -target flags only included PVE VM resources. Docker storage containers (iSCSI, NFS) were skipped because they weren't targeted. Now always includes all Docker resources in the target list since storage is shared across all PVE versions. Co-Authored-By: Claude Opus 4.6 (1M context) --- tests/infrastructure/scripts/run-integration.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/infrastructure/scripts/run-integration.sh b/tests/infrastructure/scripts/run-integration.sh index 462f527..36af906 100755 --- a/tests/infrastructure/scripts/run-integration.sh +++ b/tests/infrastructure/scripts/run-integration.sh @@ -230,6 +230,12 @@ cmd_provision() { tf_targets="$tf_targets -target=proxmox_virtual_environment_file.auto_iso[\"$node\"]" tf_targets="$tf_targets -target=proxmox_virtual_environment_vm.nested_pve[\"$node\"]" done + # Always include shared Docker storage resources + tf_targets="$tf_targets -target=docker_image.ubuntu" + tf_targets="$tf_targets -target=docker_container.iscsi_target" + tf_targets="$tf_targets -target=docker_container.nfs_server" + tf_targets="$tf_targets -target=docker_volume.iscsi_data" + tf_targets="$tf_targets -target=docker_volume.nfs_data" log "Terraform targets: $tf_targets" fi