aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
blob: 866ee3d61c04989d5f7af982baba22d30925fe6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# SLAM terraform configs

## Running

1. Download a suitable SA JSON to the directory root and call it `sa.json`.
2. Set up Node.js 16 local environment (used with GCP Cloud Functions) & `gcloud` CLI
4. Add secrets to `secrets.auto.tfvars`

```
(cd deploy-ui-gcs && npm ci)
export GOOGLE_APPLICATION_CREDENTIALS="$(pwd)/sa.json"
terraform init
terraform apply
```