required_version

The setting in the terraform block that says which Terraform versions may run this configuration.

In more detail

If the installed Terraform is outside the range, every command refuses to run instead of failing halfway in a confusing way. It uses the same constraint syntax as provider versions. The course pins at least 1.6.0 because the test framework needs it.

Example

required_version = ">= 1.6.0"

Related terms

Taught in

References

Certification courses