diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index aed3cc0..3210884 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -6,6 +6,9 @@ on: # yamllint disable-line rule:truthy branches: - main +env: + TERRAGRUNT_VERSION: "0.51.4" + jobs: pre_commit: runs-on: ubuntu-latest @@ -13,3 +16,5 @@ jobs: - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 - uses: actions/setup-python@v4.7.0 - uses: pre-commit/action@v3.0.0 + env: + SKIP: terragrunt_validate diff --git a/Makefile b/Makefile index ccb8e49..460e02e 100644 --- a/Makefile +++ b/Makefile @@ -22,3 +22,24 @@ tf/apply: .PHONY: tf/destroy tf/destroy: ${TERRAGRUNT_CMD} destroy -terragrunt-log-level debug + +tf/apply/audit: + cd live/${ENV}/audit && terragrunt run-all --terragrunt-non-interactive apply -auto-approve + +tf/apply/gitlab-permissions: + cd live/${ENV}/gitlab-permissions && terragrunt run-all --terragrunt-non-interactive apply -auto-approve + +tf/apply/gitlab-runners: + cd live/${ENV}/gitlab-runners && terragrunt run-all --terragrunt-non-interactive apply -auto-approve + +tf/apply/oidc: + cd live/${ENV}/oidc && terragrunt run-all --terragrunt-non-interactive apply -auto-approve + +tf/init/renovate-runners: + cd live/${ENV}/renovate-runners && terragrunt run-all --terragrunt-non-interactive apply -auto-approve + +tf/plan/renovate-runners: + cd live/${ENV}/renovate-runners && terragrunt run-all --terragrunt-non-interactive apply -auto-approve + +tf/apply/renovate-runners: + cd live/${ENV}/renovate-runners && terragrunt run-all --terragrunt-non-interactive apply -auto-approve