Skip to content

CallePuzzle/terraform-orchestration-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Terraform Orchestration Action

This action is used to orchestrate Terraform modules. It searches for a Terraform module in the current directory which has been modified and runs Terraform inside the module.

How to use

on:
  pull_request:
    branches:
      - main
jobs:
  single:
    name: Single
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2
        with:
          fetch-depth: 0

      - name: Test
        uses: CallePuzzle/terraform-orchestration-action@main
        with:
          baseRef: ${{ github.event.pull_request.base.sha }}
          headRef: ${{ github.event.pull_request.head.sha }}

Script mode

npx ts-node src/script.ts