Skip to content

Commit

Permalink
fix(list-module-callers): run terragrunt via aqua exec (#2244)
Browse files Browse the repository at this point in the history
* fix(list-module-callers): run terragrunt via aqua exec

* style: format by prettier and shfmt

---------

Co-authored-by: suzuki-shunsuke-app[bot] <91834585+suzuki-shunsuke-app[bot]@users.noreply.github.com>
  • Loading branch information
1 parent 9efcb69 commit 30c72c8
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions js/src/list-module-callers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,15 @@ export const main = async () => {
}
const tmpobj = tmp.fileSync();
await exec.exec(
"terragrunt",
["render-json", "--terragrunt-json-out", tmpobj.name],
"aqua",
[
"exec",
"--",
"terragrunt",
"render-json",
"--terragrunt-json-out",
tmpobj.name,
],
{
cwd: tfDir,
},
Expand Down

0 comments on commit 30c72c8

Please sign in to comment.