-
Notifications
You must be signed in to change notification settings - Fork 478
Open
Description
Terraform Version
v0.14.5
vSphere Provider Version
v1.24.3
Affected Resource(s)
vsphere_vapp_entity
Terraform Configuration Files
resource "vsphere_vapp_container" "vapp_container_cluster" {
name = var.cluster_name
parent_folder_id = data.vsphere_folder.folder.id
parent_resource_pool_id = data.vsphere_compute_cluster.cluster.resource_pool_id
}
resource "vsphere_vapp_container" "vapp_container_controlplane" {
name = "${var.cluster_name}-controlplane"
parent_folder_id = vsphere_vapp_container.vapp_container_cluster.id
parent_resource_pool_id = vsphere_vapp_container.vapp_container_cluster.id
}
resource "vsphere_vapp_container" "vapp_container_worker" {
name = "${var.cluster_name}-worker"
parent_folder_id = vsphere_vapp_container.vapp_container_cluster.id
parent_resource_pool_id = vsphere_vapp_container.vapp_container_cluster.id
}
resource "vsphere_vapp_entity" "vapp_entity_vappcontrolplane" {
target_id = vsphere_vapp_container.vapp_container_controlplane.id
container_id = vsphere_vapp_container.vapp_container_cluster.id
start_order = 1
start_action = "powerOn"
stop_action = "guestShutdown"
}
resource "vsphere_vapp_entity" "vapp_entity_vappworker" {
target_id = vsphere_vapp_container.vapp_container_worker.id
container_id = vsphere_vapp_container.vapp_container_cluster.id
start_order = 2
start_action = "powerOn"
stop_action = "guestShutdown"
}I have ommitted the other vsphere resources as they are all default stuff... i can add them if necessary :)
Debug Output
I'll add debug output after cleaning up all sensitive data
Panic Output
Expected Behavior
Settings for nested vApps should have been updated
Actual Behavior
Error: ServerFaultCode: The object 'vim.VirtualMachine:resgroup-v415598' has already been deleted or has not been completely created
Error: ServerFaultCode: The object 'vim.VirtualMachine:resgroup-v415599' has already been deleted or has not been completely created
Steps to Reproduce
created a nested vApp config like above with settings for
- start_order
- start_action
- stop_action
Important Factoids
References
- #0000
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
ewokpoacher
Metadata
Metadata
Assignees
Labels
bugBugBug