Skip to content
This repository has been archived by the owner on Jan 4, 2024. It is now read-only.

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Warneke committed Dec 22, 2020
1 parent 1f5f18a commit 1c10d80
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ chmod +x ./hack/setup.sh
source ./hack/variables.sh

# Create the initial environment
./hack/setup.
./hack/setup.sh

# Get the secrets for the SPN
source ./hack/secrets.sh
Expand Down Expand Up @@ -52,10 +52,6 @@ source ./hack/variables.sh
| `resource_location` | Same as `resource_name` |
| `container_name` | Same as `resource_name` |

## login.sh

runs `az login --service-principal` given the variables from `variables.sh`.

## setup.sh

Source the variables first `source ./hack/variables.sh`.
Expand Down Expand Up @@ -105,12 +101,16 @@ source ./hack/secrets.sh
The script outputs it like:

```bash
$ export ARM_CLIENT_ID="00000000-0000-0000-0000-000000000000"
$ export ARM_CLIENT_SECRET="00000000-0000-0000-0000-000000000000"
$ export ARM_SUBSCRIPTION_ID="00000000-0000-0000-0000-000000000000"
$ export ARM_TENANT_ID="00000000-0000-0000-0000-000000000000"
export ARM_CLIENT_ID="00000000-0000-0000-0000-000000000000"
export ARM_CLIENT_SECRET="00000000-0000-0000-0000-000000000000"
export ARM_SUBSCRIPTION_ID="00000000-0000-0000-0000-000000000000"
export ARM_TENANT_ID="00000000-0000-0000-0000-000000000000"
```

## login.sh

runs `az login --service-principal` given the variables from `variables.sh`.

## terraform.yaml

Following [Automate Terraform with GitHub Actions](https://learn.hashicorp.com/tutorials/terraform/github-actions).
Expand Down

0 comments on commit 1c10d80

Please sign in to comment.