File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 1- name : ' Terraform GitHub Actions '
1+ name : ' Terraform Checks '
22on :
33 workflow_call :
44 inputs :
4646 description : ' Terraform cloud token if your backend is terraform cloud.'
4747
4848jobs :
49- terraform-plan :
49+ terraform-checks :
5050 name : ' Terraform Validate, Init and Plan'
5151 runs-on : ubuntu-latest
5252 env :
9090 with :
9191 terraform_wrapper : false
9292
93+ # The terraform fmt command is used to format your configuration files into a canonical format and style
9394 - name : ' Terraform Format'
9495 uses : ' dflook/terraform-fmt-check@v1'
9596 with :
@@ -106,6 +107,7 @@ jobs:
106107 GITHUB_TOKEN : ' ${{ secrets.GITHUB }}'
107108 TF_CLI_ARGS : " -backend-config=token=${{ secrets.TF_API_TOKEN }}"
108109
110+ # The terraform validate command validates the configuration files in a directory, referring only to the configuration
109111 - name : ' Terraform validate'
110112 uses : dflook/terraform-validate@v1
111113 with :
You can’t perform that action at this time.
0 commit comments