terraform module
This commit is contained in:
parent
6cdb0632c3
commit
a52d5c8ba6
2 changed files with 23 additions and 0 deletions
|
@ -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
15
tf.mk
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue