Adding script/makefile rule for initializing restic

This commit is contained in:
2025-09-15 16:17:59 -07:00
parent 2a6bf683ca
commit 5e003394b8
4 changed files with 23 additions and 10 deletions

View File

@@ -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