Terraform
Environment Variables
Use these environment variables to configure CDK for Terraform (CDKTF) behavior.
| Variable Name | Description | Default | 
|---|---|---|
| CDKTF_DISABLE_PLUGIN_CACHE_ENV | If set to trueor1, CDKTF disables the plugin cache. Otherwise, CDKTF creates the plugin cache directory in~/.terraform.d/plugin-cacheif it is not already present. | |
| GITHUB_API_TOKEN_CDKTF | If set, the provider addandprovider updatecommand will use this token for authenticated requests to Github when looking for pre-built provider packages for Go. | |
| CDKTF_HOME | Where CDKTF should store cache and configuration files. | ~/.cdktf | 
| CDKTF_LOG_FILE_DIRECTORY | The directory path where CDKTF should create cdktf.logand print logs at thedebuglevel. If not set, CDKTF writes logs to standard out at the level specified inCDKTF_LOG_LEVEL. | standard out | 
| CDKTF_LOG_LEVEL | Controls how much log information CDKTF 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, CDKTF will not send telemetry data. | |
| DISABLE_VERSION_CHECK | If set to trueor1, CDKTF will not perform a version check. If it is not set, CDKTF verifies that your installed library version matches the CLI version. If they do not match, CDKTF displays a warning. | |
| FORCE_COLOR | If set to 0, CDKTF disables colored CLI output. Refer tochalkdocumentation for other supported values. | |
| HTTP_PROXY or http_proxy | The proxy that CDKTF should use for all HTTP requests. | |
| TERRAFORM_BINARY_NAME | The Terraform binary that CDKTF should use. | The Terraform binary in path | 
| TF_TOKEN_app_terraform_io | The token CDKTF 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 trueor1, CDKTF will run in a non-interactive CI mode. |