Skip to content

Commit

Permalink
separate workflow from module
Browse files Browse the repository at this point in the history
  • Loading branch information
surajkota committed Sep 14, 2022
1 parent 713d61c commit 5d523d2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/terraform-cognito-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,17 @@ jobs:
contents: read
env:
TF_VAR_cognito_user_pool_name: testpool-${{ github.run_id }}-${{ github.run_attempt }}
TF_VAR_aws_route53_zone_id: {{ secrets.HOSTED_ZONE_ID }}
TF_VAR_aws_route53_zone_id: ${{ secrets.HOSTED_ZONE_ID }}
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Configure AWS credentials from Test account
uses: aws-actions/configure-aws-credentials@v1
with:
role-to-assume: {{ secrets.PR_BUILD_ROLE }}
role-to-assume: ${{ secrets.PR_BUILD_ROLE }}
role-session-name: prrolesession-${{ github.run_id }}-${{ github.run_attempt }}
aws-region: {{ secrets.AWS_REGION }}
aws-region: ${{ secrets.AWS_REGION }}

- name: Install Terraform
uses: hashicorp/setup-terraform@v2
Expand Down

0 comments on commit 5d523d2

Please sign in to comment.