terraform-provider-oci: Terraform refresh is not getting remote state ?
Description of the bug:
I’m creating full VCP stack and some test instances. If I remove VM instance via API/UI terraform doesn’t catch this (other items like IPSec works).
terraform apply
baremetal_core_instance.TFInstance3: Refreshing state... (ID: ocid1.instance.oc1.phx.abyhqljsgqgxzl6o...3tu326kvuatk5bwbzsmhoeiodlazkmph2fc4gq)
No changes. Infrastructure is up-to-date.
this OCID is terminated instance.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 15 (8 by maintainers)
My test procedure (let me know if it’s not ok). Terminated instance state seems to be
correctly detected, but I was forced to also need to add ‘dhcp_options_id’ to all my subnets definition (nowmandatoryparameter) which quite complicate my testing (need full reprovision of some instances and subnets).Compilation
Terraform test, kill one instance via OBMC UI
Let you know when I made full reprovision 😉