Skip to content

ThingsO2/terraform-orchestration-action

 
 

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: ThingsO2/terraform-orchestration-action@main
        with:
          baseRef: ${{ github.event.pull_request.base.sha }}
          headRef: ${{ github.event.pull_request.head.sha }}

Build the action

yarn build

Script mode

npx ts-node src/script.ts

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 96.7%
  • JavaScript 2.1%
  • HCL 1.2%