michw

Results 2 comments of michw

It is possible to run custom pre exec job with: ``` - name: Plan uses: gruntwork-io/[email protected] env: INPUT_PRE_EXEC_0: 'curl -sLO https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip && unzip -q awscli-exe-linux-x86_64.zip && ./aws/install' with: tf_version: ${{...

A workaround that works for me: ``` - name: 'Extract terraform and terragrunt version from terragrunt-root.hcl' id: extract-tftg-version run: | tf_version=$(sed -n 's/^terraform_version_constraint.*=.*\"= \([0-9.]\+\)\"/\1/p' terragrunt-root.hcl) tg_version=$(sed -n 's/^terragrunt_version_constraint.*=.*\"= \([0-9.]\+\)\"/\1/p' terragrunt-root.hcl)...