driftctl/doc
Martin Guibert 0933a6a642 add support for aws_lambda_source_event_mapping 2021-03-02 14:44:51 +01:00
..
cmd add support for aws_lambda_source_event_mapping 2021-03-02 14:44:51 +01:00
contributing Update adding_a_new_resource.md 2021-02-10 13:26:50 +01:00
LIMITATIONS.md Warn on unmanaged security group rules 2021-02-15 15:49:20 +01:00
README.md Add documentation on log level 2021-02-16 17:50:37 +01:00

README.md

User guide

Global flags

Version check

By default, driftctl checks for a new version remotely. To disable this behavior, either use the flag --no-version-check or define the environment variable DCTL_NO_VERSION_CHECK.

Error reporting

When a crash occurs in driftctl, we do not send any crash reports. For debugging purposes, you can add --error-reporting when running driftctl and crash data will be sent to us via Sentry Details of reported data can be found here

Log level

By default driftctl logger only displays warning and error messages. You can set LOG_LEVEL environment variable to change the default level. Valid values are : trace,debug,info,warn,error,fatal,panic.

Note: In trace level, terraform provider logs will be shown.

Example

$ LOG_LEVEL=debug driftctl scan
DEBU[0000] New provider library created
DEBU[0000] Found existing provider path=/home/driftctl/.driftctl/plugins/linux_amd64/terraform-provider-aws_v3.19.0_x5
DEBU[0000] Starting gRPC client alias=us-east-1
DEBU[0001] New gRPC client started alias=us-east-1
...

Usage

Issues