github.com/someshkoli/terratest@v0.41.1/modules/terraform/terraform.go (about) 1 // Package terraform allows to interact with Terraform. 2 package terraform 3 4 // https://www.terraform.io/docs/commands/plan.html#detailed-exitcode 5 6 // TerraformPlanChangesPresentExitCode is the exit code returned by terraform plan detailed exitcode when changes are present 7 const TerraformPlanChangesPresentExitCode = 2 8 9 // DefaultSuccessExitCode is the exit code returned when terraform command succeeds 10 const DefaultSuccessExitCode = 0 11 12 // DefaultErrorExitCode is the exit code returned when terraform command fails 13 const DefaultErrorExitCode = 1