Skip to content

Commit

Permalink
fix(terraform): fix terraform validate executor schema and command (#242
Browse files Browse the repository at this point in the history
)

Fix schema typo.

Validate command needs `''` added otherwise the command ends up being
`terraform validate true`
  • Loading branch information
TriPSs authored Mar 12, 2024
2 parents 2a1eae4 + 7b2afe4 commit 7549498
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion packages/terraform/src/executors/validate/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@
"title": "Validate executor",
"description": "Validate",
"properties": {}
}
}
1 change: 0 additions & 1 deletion packages/terraform/src/utils/create-executor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ export function createExecutor(command: string) {
command === 'init' && upgrade && '-upgrade',
command === 'init' && migrateState && '-migrate-state',
command === 'providers' && lock && 'lock',
command === 'validate',
command === 'test' && varFile && `--var-file ${varFile}`,
]),
{
Expand Down

0 comments on commit 7549498

Please sign in to comment.