Removing extraneous bucket input variable #44
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| branches: ["main"] | |
| jobs: | |
| pre-commit: | |
| uses: ./.github/workflows/reusable-precommit.yml | |
| validate: | |
| runs-on: ubuntu-latest | |
| env: | |
| CI: true | |
| steps: | |
| - uses: actions/checkout@v5 | |
| # Here we read the terraform version from the .terraform-version file, and then install that version | |
| - name: Get Terraform version | |
| id: tf_version | |
| run: | | |
| echo "value=$(cat .terraform-version)" >> $GITHUB_OUTPUT | |
| - uses: hashicorp/setup-terraform@v3 | |
| with: | |
| terraform_version: ${{ steps.tf_version.outputs.value }} | |
| - name: Terraform Init | |
| id: tf_init | |
| run: terraform init | |
| - name: Terraform Validate | |
| id: tf_validate | |
| run: terraform validate -no-color |