~rogeruiz/dns

f544b5dcd01e46b14f74572f0ccc231853fc8cfa — Roger Steve Ruiz 2 months ago 321b437
Moving the variables around so I can SSH in & test
1 files changed, 3 insertions(+), 10 deletions(-)

M .build.yml
M .build.yml => .build.yml +3 -10
@@ 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