From 7765e45841d3cda184e5967efae1865159d21e2d Mon Sep 17 00:00:00 2001 From: danilo Date: Wed, 28 Sep 2022 13:51:51 +0200 Subject: [PATCH] Fix variable files option (#31) --- dist/index.js | 2 +- index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index a9f03a5b..9f4b94b1 100644 --- a/dist/index.js +++ b/dist/index.js @@ -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; diff --git a/index.js b/index.js index 9841e76a..004a37dd 100644 --- a/index.js +++ b/index.js @@ -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;