Question 340
A service will stop being managed by Terraform but must remain running in the provider. Which failure mode would most clearly show that this specific requirement remains unmet?
Explanation
Correct Answer
Removing state ownership is different from destroying the actual remote object. Use an appropriate removed block with destroy=false or a carefully controlled state rm operation.
Incorrect Answers
Lock timeouts control acquisition waiting, not whether safety locking should exist. Use an appropriate removed block with destroy=false or a carefully controlled state rm operation.
Backend blocks are initialized before normal variable evaluation and cannot use arbitrary input-variable references. Removing state ownership is different from destroying the actual remote object.
Default local backend state is scoped to the working directory, not automatically global. The resource is absent from managed state after change but remains present remotely.