Skip to content

Commit

Permalink
fixed action
Browse files Browse the repository at this point in the history
  • Loading branch information
zachrundle committed Aug 11, 2024
1 parent 7cb3978 commit 8af1df7
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/tfactions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,34 +8,23 @@ jobs:
tfactions:
name: tfactions
runs-on: ubuntu-latest

steps:
- uses: hashicorp/setup-terraform@v3
with:
cli_config_credentials_token: ${{ secrets.TF_API_TOKEN }}

- name: Terraform fmt execute
id: fmt
run: terraform fmt -recursive
continue-on-error: true

- name: Terraform fmt check
- name: Terraform fmt
id: fmt
run: terraform fmt -check
continue-on-error: true

- name: Terraform init
id: init
run: terraform init

- name: Terraform validate
id: validate
run: terraform validate -no-color

- name: Terraform plan
id: plan
run: terraform plan -no-color

- run: echo ${{ steps.plan.outputs.stdout }}
- run: echo ${{ steps.plan.outputs.stderr }}
- run: echo ${{ steps.plan.outputs.exitcode }}
Expand Down

0 comments on commit 8af1df7

Please sign in to comment.