Skip to content

build(deps): bump terraform-docs/gh-actions from 1.0.0 to 1.1.0 #37

build(deps): bump terraform-docs/gh-actions from 1.0.0 to 1.1.0

build(deps): bump terraform-docs/gh-actions from 1.0.0 to 1.1.0 #37

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@v4
- name: Check terraform docs
uses: terraform-docs/gh-actions@v1.1.0
with:
fail-on-diff: true
- 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