Skip to content

Commit

Permalink
ci(terraform): Add HCP api key
Browse files Browse the repository at this point in the history
  • Loading branch information
chris3ware committed Oct 25, 2024
1 parent 11ce6c6 commit 3c82b53
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/terraform-merge-q.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Trigger on pull_request (plan) and merge_group (apply) in matrix strategy.

on:
pull_request:
# obtained from View context attributes script
# types: [opened, synchronize]
paths:
- "**/*.tf"
- "**/*.tfvars"
Expand All @@ -25,6 +27,8 @@ jobs:
max-parallel: 1
matrix:
environment: [development, production]
env:
TF_TOKEN_APP_TERRAFORM_IO: ${{ secrets.TF_TOKEN_APP_TERRAFORM_IO }}

# environment: ${{ github.event_name == 'merge_group' && matrix.deployment || '' }}
# Changing this because the secrets are set at environment level, and the OIDC role only allows access from the environment
Expand Down

0 comments on commit 3c82b53

Please sign in to comment.