diff --git a/dist/index.js b/dist/index.js index c3324099..35d3edd8 100644 --- a/dist/index.js +++ b/dist/index.js @@ -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'); diff --git a/index.js b/index.js index f8582616..81e4213e 100644 --- a/index.js +++ b/index.js @@ -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');