Skip to content

Removing extraneous bucket input variable #44

Removing extraneous bucket input variable

Removing extraneous bucket input variable #44

Workflow file for this run

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