Skip to content

Update variables.tf #156

Update variables.tf

Update variables.tf #156

Workflow file for this run

name: Terraform Docs
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
tf-docs:
name: Generate Terraform Docs
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Begin CI...
uses: actions/checkout@v4
with:
# If the event that triggered the workflow is a pull request, then the variable contains ${{ github.event.pull_request.head.ref }}
# If the event that triggered the workflow is a push, then the variable contains ${{ github.ref }}
ref: ${{ github.event.pull_request.head.ref || github.ref }}
- name: Render terraform docs inside modules
uses: terraform-docs/[email protected]
with:
working-dir: modules/amplify-app,modules/bastion,modules/mongodb,modules/rds,modules/rds-aurora,modules/vpc,modules/vpc-endpoints,live/terraform-backend,live/core-networking,live/common-infra
output-file: docs/MODULE.md
output-method: replace
git-push: "true"