@@ 7,16 7,9 @@ secrets:
environment:
project: dns
TFENV_INSTALL_DIR: ~/.tfenv/
- TF_VAR_gandi_api_key: ""
- TF_TOKEN_app_terraform_io: ""
+ TF_VAR_gandi_api_key: "$(cat ~/.gandi-api-key)"
+ TF_TOKEN_app_terraform_io: "$(cat ~/.user-token-tf-gandi-dns)"
tasks:
- - set-envs: |
- echo "shh making this secret!"
- set +x
- TF_VAR_gandi_api_key="$(cat ~/.gandi-api-key)"
- TF_TOKEN_app_terraform_io="$(cat ~/.user-token-tf-gandi-dns)"
- set -x
- echo "back to work"
- install-tfenv: |
pushd "${project}"
sudo tfenv install
@@ 28,4 21,4 @@ tasks:
- terraform-plan: |
pushd "${project}"
terraform plan
- popd>
\ No newline at end of file
+ popd