Terraform Version
terraform version
Terraform v1.13.4
on linux_amd64
Terraform Configuration Files
module "xen_vm" {
for_each = local.vms
source = "./modules/xen"
name = each.key
vcpus = each.value.cpu
memory = each.value.ram
disks = each.value.disks
networks = each.value.networks
host_name = each.value.host_name
}
Debug Output
terraform -chdir=terraform apply -target='module.xen_vm[\"some-vm\"].xenorchestra_vm.vm' some.tfplan
Expected Behavior
terraform will apply the one single resource changes
Actual Behavior
module.powerdns_records["some-other-vm-15"].powerdns_record.a-record[0]: Destruction complete after 0s
module.xen_vm["some-other-vm-06"].xenorchestra_vm.vm: Modifying... [id=da1351c6-e522-92e0-ffb9-a8cf86b13351]
tf run apply for all the resources in plan file
Steps to Reproduce
terraform init - fresh state, completely new dir
terraform -chdir=terraform plan -parallelism=15 -out=some.tfplan
terraform -chdir=terraform apply -target='module.xen_vm[\"some-vm\"].xenorchestra_vm.vm' some.tfplan
Additional Context
Seems here is the problem with target pointing
References
No response
Generative AI / LLM assisted development?
no
Terraform Version
Terraform Configuration Files
Debug Output
Expected Behavior
terraform will apply the one single resource changes
Actual Behavior
module.powerdns_records["some-other-vm-15"].powerdns_record.a-record[0]: Destruction complete after 0s
module.xen_vm["some-other-vm-06"].xenorchestra_vm.vm: Modifying... [id=da1351c6-e522-92e0-ffb9-a8cf86b13351]
tf run apply for all the resources in plan file
Steps to Reproduce
terraform init- fresh state, completely new dirterraform -chdir=terraform plan -parallelism=15 -out=some.tfplanterraform -chdir=terraform apply -target='module.xen_vm[\"some-vm\"].xenorchestra_vm.vm' some.tfplanAdditional Context
Seems here is the problem with target pointing
References
No response
Generative AI / LLM assisted development?
no