Skip to content

Commit

Permalink
fix(test-module): run terraform init to install dependent providers…
Browse files Browse the repository at this point in the history
… and modules
  • Loading branch information
suzuki-shunsuke committed Mar 11, 2024
1 parent 5200c6c commit 2f4e7de
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test-module/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ runs:
- uses: suzuki-shunsuke/tfaction/get-global-config@main
id: global-config

- run: github-comment exec -- terraform init
# https://github.com/suzuki-shunsuke/tfaction/issues/1576
shell: bash
working-directory: ${{ env.TFACTION_TARGET }}
env:
GITHUB_TOKEN: ${{ inputs.github_token }}

- uses: suzuki-shunsuke/trivy-config-action@6c7c845cbf76e5745c4d772719de7a34453ae81d # v0.2.2
if: fromJSON(steps.global-config.outputs.enable_trivy)
with:
Expand Down

0 comments on commit 2f4e7de

Please sign in to comment.