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
A.
Set TF_LOG=DEBUG
B.
Review syslog for Terraform error messages
C.
Run terraform login to reauthenticate with the provider
D.
Review /var/log/terraform.log for error messages
Terraform has detailed logs which can be enabled by setting the TF_LOG environment variable to any value. This will cause detailed logs to appear on stderr.
You can set TF_LOG to one of the log levels (in order of decreasing verbosity) TRACE, DEBUG, INFO, WARN or ERROR to change the verbosity of the logs.
A
A. Set TF_LOG=DEBUG >> only this one sound like correct answear
B. Review syslog for Terraform error messages >> firstly you need to turn on terraform logging
ref https://www.terraform.io/internals/debugging
C. Run terraform login to reauthenticate with the provider >> login is used to connect with Terraform Cloud, Terraform Enterprise, or any other host that offers Terraform services
ref https://www.terraform.io/cli/commands/login
D. Review /var/log/terraform.log for error messages >> you would have to turn on logging and add path to logging
ref https://www.terraform.io/internals/debugging
Error loading state: AccessDenied: Access Denied status code: 403, request id: 288766CE5CCA24A0, host id: FOOBAR
C. Run terraform login to reauthenticate with the provider
upvoted 2 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Burakko
Highly Voted 2 years, 2 months agojednorozec2022
Highly Voted 2 years, 2 months agoSpandrop
Most Recent 11 months, 2 weeks agoInformationOverload
1 year, 11 months agoDerekKey
1 year, 11 months agoRVivek
2 years, 1 month agojjkcoins
2 years, 2 months ago