diff --git a/README.md b/README.md index ba41aee..dc4693c 100644 --- a/README.md +++ b/README.md @@ -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`. diff --git a/tf.mk b/tf.mk new file mode 100644 index 0000000..b06e579 --- /dev/null +++ b/tf.mk @@ -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