Terraform Version 14.9
We had removed an instance from the cloud using the command :terraform destroy -target testaddnode -target core_instance
I had also removed the instance details from the output.tf
, when I do a, terraform refresh I could see the state file is getting updated and the instance details are removed, **but instance details in output section of the state file are not removed **.
I am currently migrating from tf 0.11.14 to tf .14.9 and this operation used to work fine with tf 11 .
Are there any issues regarding terraform refresh in tf 14 which doesn’t update the state file of the output that has been changed?
Is there any workaround to update the output section in the terraform state file?