Skip to content

Commit

Permalink
Fix variable files option (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
drsherluck authored Sep 28, 2022
1 parent f92f940 commit 7765e45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15353,7 +15353,7 @@ async function terraform(terraformDirectory, args) {

core.startGroup('Run terraform apply');
if (terraformDoApply === true) {
const tfa = await terraform(terraformDirectory, ['apply', `-lock=${terraformLock}`, `-parallelism=${terraformParallelism}`, '-auto-approve'].concat(terraformTargets).concat(terraformVariableFiles).concat('terraform.plan'));
const tfa = await terraform(terraformDirectory, ['apply', `-lock=${terraformLock}`, `-parallelism=${terraformParallelism}`, '-auto-approve'].concat(terraformTargets).concat('terraform.plan'));
core.endGroup();
if (tfa.status > 0) {
tf_apply = status_failed;
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ async function terraform(terraformDirectory, args) {

core.startGroup('Run terraform apply');
if (terraformDoApply === true) {
const tfa = await terraform(terraformDirectory, ['apply', `-lock=${terraformLock}`, `-parallelism=${terraformParallelism}`, '-auto-approve'].concat(terraformTargets).concat(terraformVariableFiles).concat('terraform.plan'));
const tfa = await terraform(terraformDirectory, ['apply', `-lock=${terraformLock}`, `-parallelism=${terraformParallelism}`, '-auto-approve'].concat(terraformTargets).concat('terraform.plan'));
core.endGroup();
if (tfa.status > 0) {
tf_apply = status_failed;
Expand Down

0 comments on commit 7765e45

Please sign in to comment.