creating a vsphere_vapp_entity
for VMs, created with a count loop, requires two terraform apply
runs
#2141
Labels
vsphere_vapp_entity
for VMs, created with a count loop, requires two terraform apply
runs
#2141
Community Guidelines
Terraform
1.7.4
Terraform Provider
v2.6.1
VMware vSphere
v7.0.3
Description
The
vsphere_vapp_entity
settings are only created/set for a single VM in the loop. Maybe the first completed... not sure.A second run is needed to apply the settings for all VMs.
Affected Resources or Data Sources
resource/vsphere_vapp_entity
Terraform Configuration
This is my config. I create several (k8s-server-/k8s-agent-) VMs using a
count
loop.Debug Output
I have removed everything after the vsphere provider exited..
https://gist.github.com/erSitzt/166b721cdad2605cab740269304996b5
Panic Output
No response
Expected Behavior
All settings in one go..
Actual Behavior
Two runs necessary to finish the configuration
Steps to Reproduce
Create vsphere_vapp_entity for a bunch of VMs created by using
count
Environment Details
Screenshots
No response
References
No response
The text was updated successfully, but these errors were encountered: