Check in XOA what ha and autopoweron is set to
auto_poweron is false
high_availability is disabled
run apply again
Terraform confirms that they are disabled but should be enabled
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:
# xenorchestra_vm.vm will be updated in-place
~ resource "xenorchestra_vm" "vm" {
~ auto_poweron = false -> true
+ high_availability = "restart"
id = "0fb977c1-a761-4b6e-74c5-1ae1c08f8bfc"
tags = [
"dev",
]
# (17 unchanged attributes hidden)
# (3 unchanged blocks hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy.
Check in XOA what ha and autopoweron are set to
auto_poweron is now true
high_availability is now 'restart'
another apply now reports that everything matches
No changes. Your infrastructure matches the configuration.
Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed.
Using this Terraform config
Terraform confirms that they are disabled but should be enabled
No changes. Your infrastructure matches the configuration.
Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed.
Apply complete! Resources: 0 added, 0 changed, 0 destroyed.