configure bulid automaticaly using terraform code example

Example 1: 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.>

Example 2: terraform commands

Main commands:
  init          Prepare your working directory for other commands
  validate      Check whether the configuration is valid
  plan          Show changes required by the current configuration
  apply         Create or update infrastructure
  destroy       Destroy previously-created infrastructure

Tags:

Html Example