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

vivantehealth/terraform-apply-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 

Repository files navigation

terraform-apply-action

Suggested use:

  apply:
    name: Terraform Apply
    needs:
      - security-scan
      - plan
    runs-on: ubuntu-latest
    environment:
      name: dev-apply
    defaults:
      run:
        working-directory: ${{ env.tf_actions_working_dir }}
    steps:
      - 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 }}