mirror of
https://github.com/khuedoan/homelab.git
synced 2025-07-06 16:29:09 +07:00
build(external): add Makefile for Terraform
This commit is contained in:
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
|
Reference in New Issue
Block a user