simple initial boilerplate
parent
ce97725c4d
commit
173fb843c7
|
@ -0,0 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
PG_USER=terraform
|
||||
PG_HOST=pg.monotremata.xyz
|
||||
PG_DB=terraform_backend
|
||||
PG_PORT=5432
|
||||
|
||||
passwd=$(pass "${PG_HOST}/${PG_USER}")
|
||||
conn_str="postgres://${PG_USER}:${passwd}@${PG_HOST}:${PG_PORT}/${PG_DB}"
|
||||
|
||||
terraform init -backend-config="conn_str=${conn_str}"
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
export HTTP_PROXY=caladan:8888
|
||||
export HTTPS_PROXY=caladan:8888
|
||||
|
||||
terraform "$@"
|
Loading…
Reference in New Issue