Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a way to view teraform debug logs #3

Open
Veetaha opened this issue Aug 13, 2021 · 0 comments
Open

Add a way to view teraform debug logs #3

Veetaha opened this issue Aug 13, 2021 · 0 comments

Comments

@Veetaha
Copy link

Veetaha commented Aug 13, 2021

Terraform has a lot of useful debug logs, including logging the AWS API requests it makes.
With the usual terraform CLI it is possible to set TF_LOG env variable to get verbose debug logs info.

I propose awsrm to mimic terraform in this way and use TF_LOG env variable for viewing terraform and AWS SDK logs, or use some other kind of switch if it makes sense.

As of now having TF_LOG env var set doesn't influence awsrm behavior.
It only exposes --debug CLI flag which provides pretty terse logs of awsrm wrapper itself, which is not enough

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant