mirror of
https://github.com/hashicorp/setup-terraform.git
synced 2025-12-26 04:53:38 +00:00
add support for fail_on_detected_diff
more logging -- is it working? more logging -- is it working? rerelease fix logging 2 more logging more logging add fail_on_detected_diff add fail_on_detected_diff 2 add fail_on_detected_diff 3 add fail_on_detected_diff 4 fix plan_fail id; two test more debug more debug - try getBooleanInput more debug - try getBooleanInput : add debug to raw js code more debug - try getBooleanInput : add debug stdout to raw js code try using "fail" as trigger instead of boolean
This commit is contained in:
parent
a75f1a3cce
commit
89704370b3
5 changed files with 170 additions and 30 deletions
|
|
@ -17,6 +17,10 @@ inputs:
|
|||
description: 'Whether or not to install a wrapper to wrap subsequent calls of the `terraform` binary and expose its STDOUT, STDERR, and exit code as outputs named `stdout`, `stderr`, and `exitcode` respectively. Defaults to `true`.'
|
||||
default: 'true'
|
||||
required: false
|
||||
fail_on_detected_diff:
|
||||
description: 'Using -detailed-exitcode option returns exit code 0 or 2 for a detected change. Normally these are accepted as success. If doing specific handling (failing on drift, for example), this option will fail when exit code 2 is returned. Defaults to `pass`. Accepts `fail` in any case.'
|
||||
default: 'pass'
|
||||
required: false
|
||||
runs:
|
||||
using: 'node20'
|
||||
main: 'dist/index.js'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue