Add raw price threshold for sales val #442
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: deploy-terraform | |
on: | |
pull_request: | |
branches: [main] | |
push: | |
branches: [main] | |
jobs: | |
deploy-terraform: | |
runs-on: ubuntu-latest | |
# These permissions are needed to interact with GitHub's OIDC Token endpoint | |
# so that we can authenticate with AWS | |
permissions: | |
id-token: write | |
contents: read | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Terraform | |
uses: ./.github/actions/setup-terraform | |
with: | |
role-to-assume: ${{ secrets.AWS_IAM_ROLE_TO_ASSUME_ARN }} | |
terraform-iam-role-arn: ${{ secrets.TERRAFORM_IAM_ROLE_ARN }} | |
aws-account-id: ${{ secrets.AWS_ACCOUNT_ID }} | |
- name: Validate Terraform config | |
run: terraform validate | |
shell: bash | |
- name: Apply Terraform changes | |
run: terraform apply -auto-approve | |
shell: bash |