Non-zero exit code 1

When I run cdktf deploy <stack> and type yes and <RETURN>, the CLI tool will create a lock file, run for maybe a few seconds, show some progress, the lock file will be deleted, and exit with the message non-zero exit code 1

Summary: 0 created, 0 updated, 0 destroyed.non-zero exit code 1

Can CDKTF provide more information about why it exited?

You can set CDKTF_LOG_LEVEL env variable. E.g., CDKTF_LOG_LEVEL=debug dktf deploy ...

1 Like

Thanks @shohei that gave me much more information.