HashiCorp Certified: Terraform Associate — Question 298

terraform apply is failing with the following error. What next step should you take to determine the root cause of the problem?
Error loading state: AccessDenied: Access Denied status code: 403, request id: 288766CE5CCA24A0, host id: FOOBAR

Answer options

Correct answer: A

Explanation

Setting TF_LOG=DEBUG will provide detailed logging information that can help identify the underlying issue causing the AccessDenied error. The other options may provide some information, but they are not as direct or effective in troubleshooting this specific access issue with Terraform.