Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/terragrunt-root-repo #269

Merged
merged 7 commits into from
Apr 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions .github/workflows/iac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
TG_VERSION:
required: false
type: string
default: '0.53.2'
default: '0.57.5'
TF_VERSION:
required: false
type: string
Expand Down Expand Up @@ -170,9 +170,11 @@ jobs:

- uses: opentofu/setup-opentofu@main

- run: sudo apt update ; sudo apt install git -yq ; git config --global --add safe.directory '*'

- name: Init
id: init
uses: lucasmellos/terragrunt-action@main
uses: gruntwork-io/terragrunt-action@v2
with:
tf_version: ${{ inputs.TF_VERSION }}
tg_version: ${{ inputs.TG_VERSION }}
Expand All @@ -187,7 +189,7 @@ jobs:
git config --global --list

- name: Validate
uses: lucasmellos/terragrunt-action@main
uses: gruntwork-io/terragrunt-action@v2
id: validate
with:
tf_version: ${{ inputs.TF_VERSION }}
Expand All @@ -198,7 +200,7 @@ jobs:
OVH_CLOUD_PROJECT_SERVICE: ${{ secrets.OVH_CLOUD_PROJECT_SERVICE }}

- name: Plan
uses: lucasmellos/terragrunt-action@main
uses: gruntwork-io/terragrunt-action@v2
id: plan
with:
tf_version: ${{ inputs.TF_VERSION }}
Expand Down Expand Up @@ -248,7 +250,7 @@ jobs:

- name: Apply
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
uses: lucasmellos/terragrunt-action@main
uses: gruntwork-io/terragrunt-action@v2
id: apply
with:
tf_version: ${{ inputs.TF_VERSION }}
Expand Down