Skip to content

AMI: change to Amazon Linux 2 #44

AMI: change to Amazon Linux 2

AMI: change to Amazon Linux 2 #44

Workflow file for this run

name: Terraform docs and formatting
on:
pull_request_target:
types:
- opened
- synchronize
- reopened
push:
branches:
- master
jobs:
formatting:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: terraform fmt
uses: dflook/terraform-fmt-check@86914e9afad7218471018af867cc8d157d485d4b
docs:
needs: formatting
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Render terraform docs inside the README.md and push changes back to PR branch
uses: terraform-docs/gh-actions@e47bfa196e79fa50987ef391be236d9d97b0c786
with:
working-dir: .
output-file: README.md
output-method: inject
output-format: markdown table
git-push: "true"