adc/terraform/env_creds.sh
josiah d80830f8d3 Initial terraform commit.
Create 2 different subfolders:
- jowj dot net owns / will own DNS for jowj.net and its subdomains
- Bikeshed owns my provisioning VMs against my proxmox cluster

env_creds.sh is just a simple way to export secrets from `pass` to my
local environment.
2023-07-28 09:59:41 -05:00

6 lines
224 B
Bash

#!/bin/sh
# sets up env vars needed for configuring proxmox / terraform
export TF_VAR_PM_API_TOKEN_ID=$(pass pm_api_token_id)
export TF_VAR_PM_API_TOKEN_SECRET=$(pass pm_api_token_secret)
export TF_VAR_DO_PAT=$(pass do_pat)