Skip to content

Commit

Permalink
fix: terragrunt deployment broken due to 1password changes
Browse files Browse the repository at this point in the history
(cherry picked from commit 0650349)
  • Loading branch information
zackpollard committed Jun 10, 2024
1 parent 3e347e6 commit 6df130f
Showing 1 changed file with 17 additions and 7 deletions.
24 changes: 17 additions & 7 deletions .github/workflows/terragrunt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,22 @@ jobs:
- name: 'Checkout'
uses: actions/checkout@main

- name: Deploy All
uses: gruntwork-io/terragrunt-action@v2
- name: Install 1Password CLI
uses: 1password/install-cli-action@v1

- name: Install Terragrunt
uses: eLco/setup-terragrunt@v1
with:
terragrunt_version: ${{ env.tg_version }}

- name: 'Install OpenTofu'
uses: opentofu/setup-opentofu@v1
with:
tofu_version: ${{ env.tofu_version }}
tofu_wrapper: false

- name: Plan All
working-directory: ${{ env.working_dir }}
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
Expand All @@ -103,8 +117,4 @@ jobs:
GITHUB_APP_PEM_FILE: ${{ secrets.TF_APP_PEM_FILE }}
GITHUB_OWNER: ${{ secrets.TF_APP_GITHUB_OWNER }}
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
with:
tofu_version: ${{ env.tofu_version }}
tg_version: ${{ env.tg_version }}
tg_dir: ${{ env.working_dir }}
tg_command: 'run-all apply'
run: terragrunt run-all apply

0 comments on commit 6df130f

Please sign in to comment.