Skip to content

Commit

Permalink
Pass arguments to terraform properly (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
Evy Bongers authored Dec 3, 2021
1 parent c253a21 commit 4c110c4
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 @@ -5514,7 +5514,7 @@ async function terraform(args) {
let terraformDoDestroy = core.getBooleanInput('terraform_do_destroy');
const terraformLock = core.getBooleanInput('terraform_lock');
const terraformParallelism = core.getInput('terraform_parallelism');
const terraformTargets = core.getMultilineInput('terraform_targets').map((target) => `-target '${target}'`);
const terraformTargets = core.getMultilineInput('terraform_targets').map((target) => `-target='${target}'`);
const terraformVariables = core.getInput('terraform_variables');
const terraformWorkspace = core.getInput('terraform_workspace');

Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ async function terraform(args) {
let terraformDoDestroy = core.getBooleanInput('terraform_do_destroy');
const terraformLock = core.getBooleanInput('terraform_lock');
const terraformParallelism = core.getInput('terraform_parallelism');
const terraformTargets = core.getMultilineInput('terraform_targets').map((target) => `-target '${target}'`);
const terraformTargets = core.getMultilineInput('terraform_targets').map((target) => `-target='${target}'`);
const terraformVariables = core.getInput('terraform_variables');
const terraformWorkspace = core.getInput('terraform_workspace');

Expand Down

0 comments on commit 4c110c4

Please sign in to comment.