From 3ae11146b8d9a90a84a4c0356e596b82ff9d08ed Mon Sep 17 00:00:00 2001 From: Julie Ng Date: Mon, 10 Jan 2022 13:27:08 +0100 Subject: [PATCH] docs(deploy): describe .env contention, closes #33 --- DEPLOY.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/DEPLOY.md b/DEPLOY.md index ef29883..6e9df65 100644 --- a/DEPLOY.md +++ b/DEPLOY.md @@ -101,21 +101,23 @@ Make sure you are authenticated to Azure. ### 2) Configure Environment -The [Azure DevOps Provider](https://www.terraform.io/docs/providers/azuredevops/index.html) in Terraform expects the following environment variables to be set. - -To make this easier, create a `.env` file using the included `.env.sample` as a template and fill in your values: +The [Azure DevOps Provider](https://www.terraform.io/docs/providers/azuredevops/index.html) in Terraform expects the following environment variables to be set: ``` export AZDO_ORG_SERVICE_URL="https://dev.azure.com/" export AZDO_PERSONAL_ACCESS_TOKEN="…" ``` +To make this easier, create a `.env` file, using the included `.env.sample` as a template and fill in your values. + Then load the variables into your shell: ```bash source ./.env ``` +Please note that `.env` file name is a common convention and some frameworks will automatically load this configuration file. However, it is meant to be used in a _local development only_ and should _never_ be checked into git. + ### 3) Initialize Terraform #### 3a) From local computer (recommended)