build(external): add Makefile for Terraform

This commit is contained in:
Khue Doan 2021-12-11 12:12:18 +07:00
parent 7acbba961b
commit d80de3c69a

12
external/Makefile vendored Normal file
View 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