Skip to content

Commit

Permalink
restore pre force push code
Browse files Browse the repository at this point in the history
Without `GCP_PROJECT_ID` tests fail. I see no reason why this is
happening, but `TF_VAR_gcp_project_id` is not enough for `project_id` to
be correctly filled in Agent configuration.
  • Loading branch information
endorama committed Mar 10, 2022
1 parent 141fc96 commit ce21b00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ version: '2.3'
services:
terraform:
environment:
- GCP_PROJECT_ID=${GCP_PROJECT_ID}
# pass project id to Terraform
- TF_VAR_gcp_project_id=${GCP_PROJECT_ID}
- GOOGLE_CREDENTIALS=${GOOGLE_CREDENTIALS}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# wait_for_data_timeout: 10m
vars:
project_id: "{{TF_VAR_gcp_project_id}}"
project_id: "{{GCP_PROJECT_ID}}"
credentials_json: '{{{GOOGLE_CREDENTIALS}}}'
data_streams:
vars: ~

0 comments on commit ce21b00

Please sign in to comment.