File tree Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -357,6 +357,12 @@ function set-common-plan-args() {
357357 PLAN_ARGS=" $PLAN_ARGS -destroy"
358358 fi
359359 fi
360+
361+ if [[ -v INPUT_REFRESH ]]; then
362+ if [[ " $INPUT_REFRESH " == " false" ]]; then
363+ PLAN_ARGS=" $PLAN_ARGS -refresh=false"
364+ fi
365+ fi
360366}
361367
362368function set-variable-args() {
Original file line number Diff line number Diff line change @@ -45,6 +45,10 @@ inputs:
4545 description : Create a plan to destroy all resources
4646 required : false
4747 default : " false"
48+ refresh :
49+ description : Skip checking for external changes to remote objects while creating the plan
50+ required : false
51+ default : " true"
4852 label :
4953 description : A friendly name for this plan
5054 required : false
Original file line number Diff line number Diff line change @@ -45,6 +45,10 @@ inputs:
4545 description : Create a plan to destroy all resources
4646 required : false
4747 default : " false"
48+ refresh :
49+ description : Skip checking for external changes to remote objects while creating the plan
50+ required : false
51+ default : " true"
4852 label :
4953 description : A friendly name for this plan
5054 required : false
You can’t perform that action at this time.
0 commit comments