Terraform Block

terraform {
  #...
}

Sub-elements:

  • cloud—configures Terraform Cloud
  • backend—configures the Terraform state backends
  • required_version—constrains the Terraform version
    • Constraints of all child modules must also be satisfied
  • required_providers—specifies providers required by the module
    • Includes address and version constraint

Graph View