I'm using Terraform to provision some resources on AWS. Running the "plan" step of Terraform fails with the following vague error (for example):
Error: Error loading state: AccessDenied: Access Denied
status code: 403, request id: ABCDEF12345678, host id: SOMELONGBASE64LOOKINGSTRING===
Given a request id and a host id is it possible to see more in depth what went wrong?
Setting TF_LOG=DEBUG (or some other level) seems to help, but I was curious if there is a CLI command to get more information from CloudTrail or something.
Thanks!
cli
with the same credentials you used for terraform and a--debug
flag. Maybe it gives you more information about the issue.