Skip to content

Commit

Permalink
Private prov
Browse files Browse the repository at this point in the history
  • Loading branch information
bczoma committed Jun 20, 2024
1 parent 4aee1b0 commit 38dc468
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/module-test-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,18 @@ jobs:
- name: Check out code
uses: actions/checkout@v4

- name: Set up Terraform latest
uses: hashicorp/setup-terraform@v2
- name: Set up Terraform latest - public
if: ${{ secrets.PRIVATE_TEST_PROVIDER_VERSION != "" }}
uses: hashicorp/setup-terraform@v3
with:
terraform_wrapper: true

- name: Set up Terraform latest - private, with token
if: ${{ secrets.PRIVATE_TEST_PROVIDER_VERSION == "" }}
uses: hashicorp/setup-terraform@v3
with:
cli_config_credentials_token: ${{ secrets.TF_API_TOKEN }}
terraform_wrapper: true

- name: Setup test broker
run: |
Expand Down

0 comments on commit 38dc468

Please sign in to comment.