| Variable Name | Description | Default |
|---|---|---|
| CDKTF_DISABLE_PLUGIN_CACHE_ENV | If set to true or 1, CDKTN disables the plugin cache. Otherwise, CDKTN creates the plugin cache directory in ~/.terraform.d/plugin-cache if it is not already present. | |
| GITHUB_API_TOKEN_CDKTF | If set, the provider add and provider update command will use this token for authenticated requests to Github when looking for pre-built provider packages for Go. | |
| CDKTF_HOME | Where CDKTN should store cache and configuration files. | ~/.cdktf |
| CDKTF_LOG_FILE_DIRECTORY | The directory path where CDKTN should create cdktf.log and print logs at the debug level. If not set, CDKTN writes logs to standard out at the level specified in CDKTF_LOG_LEVEL. | standard out |
| CDKTF_LOG_LEVEL | Controls how much log information CDKTN prints to the console. You can set it to one of the following values: all, debug, info, warn, error, fatal, off. | warn |
| CHECKPOINT_DISABLE | If set to any value, CDKTN will not send telemetry data. | |
| DISABLE_VERSION_CHECK | If set to true or 1, CDKTN will not perform a version check. If it is not set, CDKTN verifies that your installed library version matches the CLI version. If they do not match, CDKTN displays a warning. | |
| FORCE_COLOR | If set to 0, CDKTN disables colored CLI output. Refer to chalk documentation for other supported values. | |
| HTTP_PROXY or http_proxy | The proxy that CDKTN should use for all HTTP requests. | |
| TERRAFORM_BINARY_NAME | The name of the Terraform-compatible binary that CDKTN should use. Set to tofu to use OpenTofu instead of Terraform. | terraform |
| TF_TOKEN_app_terraform_io | The token CDKTN should use to authenticate with Terraform Cloud. Must be set to a valid HCP Terraform API token. In case of TFE app_terraform_io would be your hostname. | |
| CI | If set to true or 1, CDKTN will run in a non-interactive CI mode. |