Skip to content

Commit

Permalink
Merge pull request #122 from obukhovski/master
Browse files Browse the repository at this point in the history
fix(terraform): Fixed apply autoApproval
  • Loading branch information
TriPSs committed Jun 17, 2023
2 parents 0334070 + 65d071c commit d6b8daf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/terraform/src/utils/create-executor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ export function createExecutor(command: string) {
...backendConfig.map(
(config) => `-backend-config="${config.key}=${config.name}"`
),
command === 'apply' && planFile,
command === 'plan' && planFile && `-out ${planFile}`,
autoApproval && '-auto-approve'
command === 'apply' && autoApproval && '-auto-approve',
command === 'apply' && planFile
]),
{
cwd: sourceRoot,
Expand Down

0 comments on commit d6b8daf

Please sign in to comment.