23 lines
376 B
Makefile
23 lines
376 B
Makefile
|
# Always use devbox environment to run commands.
|
||
|
set shell := ["devbox", "run"]
|
||
|
# Load dotenv
|
||
|
set dotenv-load
|
||
|
|
||
|
default:
|
||
|
@just --list
|
||
|
|
||
|
lint:
|
||
|
@tofu fmt -check -recursive .
|
||
|
@tflint --recursive
|
||
|
|
||
|
deploy:
|
||
|
#!/usr/bin/env sh
|
||
|
cd {{justfile_directory()}}/terraform
|
||
|
tofu init
|
||
|
tofu apply
|
||
|
|
||
|
destroy:
|
||
|
#!/usr/bin/env sh
|
||
|
cd {{justfile_directory()}}/terraform
|
||
|
tofu destroy
|