What will happen if...
 
Notifications
Clear all

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

1 Posts
1 Users
0 Likes
83 Views
(@rippesteban)
Posts: 727
Noble Member
Topic starter
 

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

Show Answer Hide Answer

Suggested Answer: D
 
Posted : 26/12/2022 8:30 pm

Latest TA-002-P V1 Dumps Valid Version

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Share: