mirror of
https://github.com/apricote/home-cloud.git
synced 2026-01-13 13:01:03 +00:00
bitwarden deployment
This commit is contained in:
commit
42ec743a00
24 changed files with 498 additions and 0 deletions
25
Makefile
Normal file
25
Makefile
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
TF=terraform
|
||||
TFFLAGS=-var-file=credentials.tfvars
|
||||
VALIDATE=terraform validate -check-variables=false
|
||||
|
||||
apply: init
|
||||
$(TF) apply $(TFFLAGS)
|
||||
|
||||
plan: init
|
||||
$(TF) plan $(TFFLAGS)
|
||||
|
||||
destroy: init
|
||||
$(TF) destroy $(TFFLAGS)
|
||||
|
||||
lint: init
|
||||
$(VALIDATE) modules/docker_node
|
||||
$(VALIDATE) modules/floating_ip
|
||||
$(VALIDATE) services/bitwarden
|
||||
$(VALIDATE) .
|
||||
|
||||
init: keys
|
||||
$(TF) init
|
||||
|
||||
keys: keys/id_terraform
|
||||
echo "No private key found! Generating Terraform SSH Keys."
|
||||
./bootstrap-keys.sh
|
||||
Loading…
Add table
Add a link
Reference in a new issue