Skip to content
lock

GitHub Action

Terraform Orchestration Action

v1.1.3 Latest version

Terraform Orchestration Action

lock

Terraform Orchestration Action

This action is used to orchestrate Terraform modules which has been changed

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Terraform Orchestration Action

uses: CallePuzzle/[email protected]

Learn more about this action in CallePuzzle/terraform-orchestration-action

Choose a version

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