mirror of
https://github.com/khuedoan/homelab.git
synced 2024-12-23 01:04:32 +07:00
build(external): add Makefile for Terraform
This commit is contained in:
parent
7acbba961b
commit
d80de3c69a
12
external/Makefile
vendored
Normal file
12
external/Makefile
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
.POSIX:
|
||||
|
||||
default: apply
|
||||
|
||||
~/.terraform.d/credentials.tfrc.json:
|
||||
terraform login
|
||||
|
||||
.terraform.lock.hcl: ~/.terraform.d/credentials.tfrc.json versions.tf
|
||||
terraform init
|
||||
|
||||
apply: .terraform.lock.hcl
|
||||
terraform apply
|
Loading…
Reference in New Issue
Block a user