homelab/terraform/dns/makefile

13 lines
237 B
Makefile
Raw Normal View History

2023-11-04 20:33:51 +00:00
setenv:
export TF_VAR_hetznerApiKey=`vault kv get -field=hdns_token secrets/hetzner`
export TF_VAR_powerDnsApiKey=`vault kv get -field=API_KEY secrets/nomad/pdns`
apply: setenv
terraform apply
plan: setenv
export
terraform plan