Skip to content

Commit

Permalink
adding tfc action-run github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
chefgs committed Jul 22, 2024
1 parent 800502d commit 20c3522
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/tf_cloud_aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ env:
tfcode_path: tfcloud_samples/amazon_ec2
tfc_organisation: gsaravanan-tf
tfc_hostname: app.terraform.io
tfc_workspace: example-workspace

jobs:
aws_tfc_job:
Expand Down Expand Up @@ -60,7 +61,7 @@ jobs:
uses: hashicorp/tfc-workflows-github/actions/[email protected]
id: run
with:
workspace: "my-workspace"
workspace: ${{ env.tfc_workspace }}
plan_only: true
message: "Plan Run from GitHub Actions"
## Can specify hostname,token,organization as direct inputs
Expand Down

0 comments on commit 20c3522

Please sign in to comment.