HashiCorp Certified: Terraform Associate (003) (HCTA0-003) Terraform-Associate-003 Question # 30 Topic 4 Discussion

HashiCorp Certified: Terraform Associate (003) (HCTA0-003) Terraform-Associate-003 Question # 30 Topic 4 Discussion

Terraform-Associate-003 Exam Topic 4 Question 30 Discussion:
Question #: 30
Topic #: 4

A.

Modify the Terraform configuration to add an import block for both of the virtual machines.


B.

Run a terraform apply -refresh to identify the virtual machine IDs that are already managed by Terraform.


C.

Run terraform state rm on both VMs, then terraform apply to recreate the correct one.


D.

Run terraform state list to find the names of all VMs, then run terraform state show for each of them to find which VM ID Terraform manages.


Get Premium Terraform-Associate-003 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.