Question 100
A server must remain in service but the current Terraform workspace must relinquish its ownership. Which Terraform concept most directly explains the appropriate approach?
Explanation
Correct Answer
Use terraform state rm after controlled review, or an appropriate removed block. The state no longer tracks the server while the provider instance remains running.
Incorrect Answers
Write the matching resource configuration and import the existing remote object to its intended address. Use terraform state rm after controlled review, or an appropriate removed block.
Treat high-verbosity logs as sensitive; redact and authorize sharing before export. Removing a state entry is not equivalent to deleting the physical resource.
Use controlled import blocks for each supported server and review the resulting plan. Use terraform state rm after controlled review, or an appropriate removed block.