Terraform Block

The terraform block is normally the first block in a configuration. It is used to configure the behavior of Terraform itself.

Possible configuration options include:

  • Required version of Terraform
  • Required providers (the ones that will be downloaded when running terraform init)
  • Backend configuration (where the state file will be stored)
  • Experimental features