What will happen if you delete the VM using the cloud provider console, and run terraform apply again without changing any Terraform code?

You have a simple Terraform configuration containing one virtual machine (VM) in a cloud provider. You run terraform apply and the VM is created successfully.
What will happen if you delete the VM using the cloud provider console, and run terraform apply again without changing any Terraform code?
A. Terraform will remove the VM from state file
B. Terraform will report an error
C. Terraform will not make any changes
D. Terraform will recreate the VM

Download Printable PDF. VALID exam to help you PASS.

0 thoughts on “What will happen if you delete the VM using the cloud provider console, and run terraform apply again without changing any Terraform code?

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.