Adding script/makefile rule for initializing restic
This commit is contained in:
4
Makefile
4
Makefile
@@ -66,6 +66,10 @@ apply: ignition.json $(config_dir)$(TERRAFORM_ENV).tfvars generated.tfvars
|
||||
destroy: ignition.json $(config_dir)$(TERRAFORM_ENV).tfvars generated.tfvars
|
||||
bash -c "terraform destroy -var-file=<(cat $(config_dir)$(TERRAFORM_ENV).tfvars generated.tfvars)"
|
||||
|
||||
.PHONY: restic-init
|
||||
restic-init: $(apps_config) restic-password
|
||||
./init-restic.sh $(apps_config)
|
||||
|
||||
## to help me remember the command to run to test the config locally
|
||||
testlocalhost:
|
||||
curl -k --resolve localhost:443:146.190.12.129 https://localhost
|
||||
|
||||
Reference in New Issue
Block a user