From 1587597ef9e53c5563eb18fea72c10ed9f3c6029 Mon Sep 17 00:00:00 2001 From: Jo Date: Mon, 6 May 2024 13:49:55 -0400 Subject: [PATCH] validate workflow test --- .github/workflows/validate.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index d2c7dd643..107082d54 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -42,6 +42,13 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Configure AWS credentials + uses: aws-actions/configure-aws-credentials@v4 + with: + role-to-assume: ${{ secrets.IAM_ROLE }} + role-session-name: Appointment_GitHub_to_AWS_via_FederatedOIDC + aws-region: ${{ vars.AWS_REGION }} + - name: install opentofu uses: opentofu/setup-opentofu@v1 with: @@ -84,6 +91,7 @@ jobs: - name: frontend working-directory: ./tofu/environments/stage/services/frontend + continue-on-error: true run: | terragrunt init -upgrade terragrunt validate