terraform module

This commit is contained in:
Andreas Neue 2024-05-03 14:18:33 +02:00
parent 6cdb0632c3
commit a52d5c8ba6
2 changed files with 23 additions and 0 deletions

View File

@ -133,3 +133,11 @@ systemd. (TBD)
##### apt
APT deployment on debian-like distributions.
##### tf
Deploy via Terraform. Config is mostly done with terraform.
`TF_FLAGS`: What you think.
`TF_TARGET`: Limits deployment to `TF_TARGET`.

15
tf.mk Normal file
View File

@ -0,0 +1,15 @@
MANDATORY-tf =
# tf
#
# deploys via tf apply
#
start-tf:
ifdef TF_TARGET
terraform apply $(TF_FLAGS) -t $(TF_TARGET)
else
terraform apply $(TF_FLAGS)
endif
pull-tf:
# nop