2024-08-20 19:03:23 +00:00
|
|
|
# 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
|
|
|
|
|
2024-08-31 18:30:08 +00:00
|
|
|
deploy:
|
2024-08-20 19:03:23 +00:00
|
|
|
#!/usr/bin/env sh
|
|
|
|
cd {{justfile_directory()}}/terraform
|
|
|
|
tofu init
|
|
|
|
tofu apply
|
2024-08-25 15:47:41 +00:00
|
|
|
|
|
|
|
destroy:
|
|
|
|
#!/usr/bin/env sh
|
|
|
|
cd {{justfile_directory()}}/terraform
|
|
|
|
tofu destroy
|