Skip to content
This repository has been archived by the owner on Sep 13, 2024. It is now read-only.

vivantehealth/terraform-plan-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 

Repository files navigation

terraform-plan-action

Suggested use:

  plan:
    name: Terraform Plan (dev)
    environment:
      name: dev-plan
    runs-on: ubuntu-latest
    defaults:
      run:
        working-directory: ${{ env.tf_actions_working_dir }}
    steps:
      - name: Terraform Validate
        uses: vivantehealth/terraform-validate-action@main
      - name: Terraform Plan
        uses: vivantehealth/terraform-plan-action@main
        with:
          gcp_key: ${{ secrets.GCP_KEY }}
          domain_project_id: ${{ secrets.DOMAIN_PROJECT_ID }}
          terraform_project_id: ${{ secrets.TERRAFORM_PROJECT_ID }}
          secrets_provisioning_private_key: ${{ secrets.SECRETS_PROVISIONING_PRIVATE_KEY }}