The pre-commit ci-image doesn't have the Terraform CLI, but it can be downloaded in the before_script part so it's not an issue.