Question 390
A CI runner produces excessively large debug logs during a persistent flaky provider test; the team needs useful evidence and safe retention. Which Terraform concept most directly explains the appropriate approach?
Explanation
Correct Answer
Limit high-verbosity logging to controlled reproductions and enforce log retention/access policies. Diagnostic runs capture necessary context without indefinite unrestricted log storage.
Incorrect Answers
Run terraform state list with the correct initialized backend context. Limit high-verbosity logging to controlled reproductions and enforce log retention/access policies.
Use an import block with the correct target resource address and provider object ID. Debugging should balance detail with operational safety and secret exposure.
Use terraform state show with the exact managed resource address. Diagnostic runs capture necessary context without indefinite unrestricted log storage.