Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Commit fe8dbed

Browse files
authored
Merge pull request #103 from JoshVanL/ensure-google-config-not-empty
Ensure google-config.json is populated with valid json for arbitrary clusters to work
2 parents a21ca75 + a6de2a5 commit fe8dbed

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

demo/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ help: ## Display this help
3434
.PHONY: terraform_apply
3535
terraform_apply: ## Applies terraform infrastructure
3636
echo '' > infrastructure/$(CLOUD)/terraform.tfvars
37+
touch manifests/google-config.json && [ -s manifests/google-config.json ] || echo {} > manifests/google-config.json
3738
echo 'google_project = "$(GOOGLE_PROJECT)"' > infrastructure/$(CLOUD)/terraform.tfvars
3839
echo 'ca_crt_file = "$(CA_CRT_FILE)"' >> infrastructure/$(CLOUD)/terraform.tfvars
3940
echo 'ca_key_file = "$(CA_KEY_FILE)"' >> infrastructure/$(CLOUD)/terraform.tfvars

0 commit comments

Comments
 (0)