17 lines
304 B
Makefile
17 lines
304 B
Makefile
|
SHELL := /bin/bash
|
||
|
.SILENT: up clear fmt init apply
|
||
|
.PHONY: up clear fmt init apply
|
||
|
all: up
|
||
|
clear:
|
||
|
clear
|
||
|
fmt:
|
||
|
terraform fmt -recursive .
|
||
|
init:
|
||
|
terraform init -upgrade
|
||
|
apply:
|
||
|
terraform apply \
|
||
|
-target module.traefik \
|
||
|
-target module.headscale \
|
||
|
-target module.portainer
|
||
|
up: clear fmt init apply
|