Skip to content

Commit

Permalink
added upload config
Browse files Browse the repository at this point in the history
  • Loading branch information
thejoeker12 committed Oct 28, 2024
1 parent 5e2b866 commit 3262758
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/demo_1_plan_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,22 @@ jobs:
- name: checkout
uses: actions/checkout@v4


- name: Upload Configuration
uses: hashicorp/tfc-workflows-github/actions/[email protected]
id: upload-config
with:
workspace: ${{ vars.TF_WORKSPACE }}
directory: "workload/terraform/jamfpro"
speculative: true

# Run plan using hashi create-run
- name: "plan"
- name: Terraform Plan
uses: hashicorp/tfc-workflows-github/actions/[email protected]
env:
TF_API_TOKEN: ${{ secrets.TF_API_KEY }}
with:
token: ${{ secrets.TF_API_KEY }}
workspace: ${{ vars.TF_WORKSPACE }}
organization: ${{ vars.TF_CLOUD_ORG }}
configuration_version: ${{ steps.upload-config.outputs.configuration_version_id }}


0 comments on commit 3262758

Please sign in to comment.