2020-10-27 02:15:36 +01:00
|
|
|
---
|
2021-11-23 00:47:36 +01:00
|
|
|
page_title: CLI Configuration - Terraform CLI
|
|
|
|
description: >-
|
|
|
|
Find documentation about the CLI config file and customizing Terraform
|
|
|
|
environment variables.
|
|
|
|
sidebar_title: CLI Configuration
|
2020-10-27 02:15:36 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
# CLI Configuration
|
|
|
|
|
|
|
|
Terraform CLI can be configured with some global settings, which are separate
|
|
|
|
from any Terraform configuration and which apply across all working directories.
|
|
|
|
|
|
|
|
We've designed Terraform such that an average user running Terraform CLI
|
|
|
|
interactively will not need to interact with any of these settings. As a result,
|
|
|
|
most of the global settings relate to advanced or automated workflows, or
|
|
|
|
unusual environmental conditions like running Terraform on an airgapped
|
|
|
|
instance.
|
|
|
|
|
2021-11-23 00:47:36 +01:00
|
|
|
- The [CLI config file](/cli/config/config-file) configures provider
|
2020-10-27 02:15:36 +01:00
|
|
|
installation and security features.
|
2021-11-23 00:47:36 +01:00
|
|
|
- Several [environment variables](/cli/config/environment-variables) can
|
2020-10-27 02:15:36 +01:00
|
|
|
configure Terraform's inputs and outputs; this includes some alternate ways to
|
|
|
|
provide information that is usually passed on the command line or read from
|
|
|
|
the state of the shell.
|