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
357 Views
 Theo
(@baintheo)
Noble Member
Joined: 2 years ago
Posts: 705
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: C

   
Quote

Latest HashiCorp TA-002-P Dumps Valid Version

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