github.com/tilotech/tilores-cli@v0.28.0/internal/pkg/step/terraformrequire.go (about)

     1  package step
     2  
     3  // TerraformRequire creates a step that ensures that terraform is installed.
     4  func TerraformRequire() error {
     5  	return runCommand(
     6  		"terraform is required, but was not found: %v",
     7  		createCommand("terraform", "version"),
     8  	)()
     9  }