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

Commit

Permalink
Merge pull request #18 from haydenrandolph/infra
Browse files Browse the repository at this point in the history
update action
  • Loading branch information
haydenrandolph authored Dec 3, 2023
2 parents 5768d03 + a5369c4 commit c0be858
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/terraform-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:

- name: Setup Terraform
uses: hashicorp/setup-terraform@v1
with:
cli_config_credentials_token: ${{ secrets.TF_API_TOKEN }}

- name: Terraform Init
run: terraform init
env:
TF_API_TOKEN: ${{ secrets.TF_API_TOKEN }}
working-directory: ./terraform

- name: Terraform Plan
Expand All @@ -38,4 +38,4 @@ jobs:
TF_VAR_gcp_project_id: ${{ secrets.GCP_PROJECT_ID }}
TF_VAR_docker_image_url: "hankcmoody/varonis-rest-rec:${{ github.sha }}"
GOOGLE_APPLICATION_CREDENTIALS: ${{ github.workspace }}/gcp-credentials.json
working-directory: ./terraform
working-directory: ./terraform
2 changes: 1 addition & 1 deletion terraform/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ variable "docker_image_url" {
description = "URL of the Docker image in the container registry"
type = string
//default = "hankcmoody/varonis-rest-rec:latest"
}
}

0 comments on commit c0be858

Please sign in to comment.