Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
lexxnsk committed Sep 26, 2024
1 parent 0dff04c commit 9cc31d7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/terraform-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ jobs:
role-to-assume: arn:aws:iam::${{ env.AWS_ACCOUNT_ID }}:role/${{ env.TERRAFORM_GITHUB_ACTIONS_ROLE_NAME }}

- name: Terraform Plan
run: terraform plan -var "aws_account_id=${{ env.AWS_ACCOUNT_ID }}"
env:
aws_account_id: ${{ env.AWS_ACCOUNT_ID }}
run: terraform plan

terraform_apply:
runs-on: ubuntu-latest
Expand All @@ -104,4 +106,6 @@ jobs:
role-to-assume: arn:aws:iam::${{ env.AWS_ACCOUNT_ID }}:role/${{ env.TERRAFORM_GITHUB_ACTIONS_ROLE_NAME }}

- name: Terraform Apply
run: terraform apply -var "aws_account_id=${{ env.AWS_ACCOUNT_ID }}"
env:
aws_account_id: ${{ env.AWS_ACCOUNT_ID }}
run: terraform apply

0 comments on commit 9cc31d7

Please sign in to comment.