2021-12-11 12:12:18 +07:00
|
|
|
.POSIX:
|
|
|
|
|
2021-12-29 22:51:36 +07:00
|
|
|
default: apply
|
2021-12-11 12:12:18 +07:00
|
|
|
|
|
|
|
~/.terraform.d/credentials.tfrc.json:
|
2024-11-24 00:09:15 +07:00
|
|
|
tofu login
|
2021-12-11 12:12:18 +07:00
|
|
|
|
2021-12-25 02:34:49 +07:00
|
|
|
terraform.tfvars:
|
2024-01-20 11:48:25 +07:00
|
|
|
cp terraform.tfvars.example ${@}
|
|
|
|
nvim ${@}
|
2021-12-25 02:34:49 +07:00
|
|
|
|
|
|
|
.terraform.lock.hcl: ~/.terraform.d/credentials.tfrc.json versions.tf terraform.tfvars
|
2024-11-24 00:09:15 +07:00
|
|
|
tofu init
|
2024-01-20 11:48:25 +07:00
|
|
|
touch ${@}
|
2021-12-11 12:12:18 +07:00
|
|
|
|
2021-12-25 10:52:07 +07:00
|
|
|
namespaces:
|
|
|
|
ansible-playbook namespaces.yml
|
|
|
|
|
2021-12-23 00:18:09 +07:00
|
|
|
plan: .terraform.lock.hcl
|
2024-11-24 00:09:15 +07:00
|
|
|
tofu plan
|
2021-12-23 00:18:09 +07:00
|
|
|
|
2021-12-25 10:52:07 +07:00
|
|
|
apply: .terraform.lock.hcl namespaces
|
2024-11-24 00:09:15 +07:00
|
|
|
tofu apply -auto-approve
|