terraform configuration file code example
Example: CLI configuration File in terraform ?
Location of the CLI Configuration File:->
Windows --->
the file must be named <terraform.rc> and placed in the relevant user's <%APPDATA%> directory.
All other systems --->
the file must be named <.terraformrc> placed directly in the home directory of the relevant user.
Environment Variable --->
<TF_CLI_CONFIG_FILE environment variable.>