Skip to content

build(deps): bump hashicorp/setup-terraform from 2 to 3 #28

build(deps): bump hashicorp/setup-terraform from 2 to 3

build(deps): bump hashicorp/setup-terraform from 2 to 3 #28

Workflow file for this run

name: Terraform
on:
push:
branches: [ "main" ]
pull_request:
permissions:
contents: read
jobs:
terraform:
name: Terraform
runs-on: ubuntu-latest
environment: production
defaults:
run:
shell: bash
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Terraform
uses: hashicorp/setup-terraform@v3
- name: Terraform Init
run: terraform init
- name: Terraform Format
run: terraform fmt -check
- name: Terraform Plan
run: terraform plan -input=false
- name: Terraform Apply
if: github.ref == 'refs/heads/"main"' && github.event_name == 'push'
run: terraform apply -auto-approve -input=false