Pre-Winter Sale Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: force70

HashiCorp Certified: Terraform Associate (004) (HCTA0-004) Terraform-Associate-004 Question # 63 Topic 7 Discussion

HashiCorp Certified: Terraform Associate (004) (HCTA0-004) Terraform-Associate-004 Question # 63 Topic 7 Discussion

Terraform-Associate-004 Exam Topic 7 Question 63 Discussion:
Question #: 63
Topic #: 7

You need to destroy all of the resources in your Terraform workspace, except for aws_instance.ubuntu[1], which you want to keep. How can you tell Terraform to stop managing that specific resource without destroying it?


A.

Remove the resource block from your configuration.


B.

Change the value of the count argument on the resource.


C.

Run terraform state rm aws_instance.ubuntu[1].


D.

Use a moved block.


Get Premium Terraform-Associate-004 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.