Skip to content

GitHub Action for setting up a workflow to execute terraform apply operations.

License

Notifications You must be signed in to change notification settings

flipgroup/action-terraform-apply

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Action Terraform apply

GitHub Action for setting up a workflow to execute terraform apply operations in CI/CD pipelines for a given workspace.

Usage

jobs:
  main:
    name: Deploy
    runs-on: ubuntu-latest
    steps:
      - name: Checkout source
        uses: actions/checkout@v4
      - name: Setup Terraform
        uses: flipgroup/action-terraform-apply@main
        with:
          version: 1.7.5
          workspace: prod

      # -- as an example --

      - name: Terraform apply
        run: |
          cd ops/my-terraform-configuration
          terraform init
          terraform apply

About

GitHub Action for setting up a workflow to execute terraform apply operations.

Topics

Resources

License

Stars

Watchers

Forks