Skip to content

refactor(modules/cluster): extract hard coded value to locals #2

refactor(modules/cluster): extract hard coded value to locals

refactor(modules/cluster): extract hard coded value to locals #2

name: Terraform Docs
on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master
env:
TERRAFORM_DOCS_VERSION: v0.18.0
jobs:
generateDocs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Render and Push terraform docs for main and modules
uses: terraform-docs/gh-actions@main
with:
working-dir: .
git-push: true
config-file: .terraform-docs.yaml
- name: Render and Push terraform docs for examples
uses: terraform-docs/gh-actions@main
with:
working-dir: .
git-push: true
config-file: .terraform-docs-example.yaml