Valid Terraform-Associate-003 Dumps shared by ExamDiscuss.com for Helping Passing Terraform-Associate-003 Exam! ExamDiscuss.com now offer the newest Terraform-Associate-003 exam dumps, the ExamDiscuss.com Terraform-Associate-003 exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com Terraform-Associate-003 dumps with Test Engine here:
A developer on your team is going lo leaf down an existing deployment managed by Terraform and deploy a new one. However, there is a server resource named aws instant.ubuntu[l] they would like to keep. What command should they use to tell Terraform to stop managing that specific resource?
Correct Answer: B
To tell Terraform to stop managing a specific resource without destroying it, you can use the terraform state rm command. This command will remove the resource from the Terraform state, which means that Terraform will no longer track or update the corresponding remote object. However, the object will still exist in the remote system and you can later use terraform import to start managing it again in a different configuration or workspace. The syntax for this command is terraform state rm <address>, where <address> is the resource address that identifies the resource instance to remove. For example, terraform state rm aws_instance.ubuntu[1] will remove the second instance of the aws_instance resource named ubuntu from the state. Reference = : Command: state rm : Moving Resources