Summer Certification 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 # 82 Topic 9 Discussion

HashiCorp Certified: Terraform Associate (004) (HCTA0-004) Terraform-Associate-004 Question # 82 Topic 9 Discussion

Terraform-Associate-004 Exam Topic 9 Question 82 Discussion:
Question #: 82
Topic #: 9

You’ve just finished refactoring part of your Terraform workspace’s configuration to use a module to manage some of your resources. When you plan your changes, you notice that Terraform will destroy and recreate the affected resources. Doing so could cause unintended downtime in the application your workspace manages. What supported approach should you take to complete the refactor without destroying and recreating your resources?


A.

Add moved blocks to your configuration to let Terraform know the new resource addresses for the affected resources.


B.

Run the terraform console command to edit your workspace ' s state and update the resource names.


C.

Manually edit your terraform.tfstate file and update the resource names.


D.

Open your cloud provider ' s console and rename the affected resources.


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.