aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorJan Tuomi <jans.tuomi@gmail.com>2022-02-06 17:08:22 +0200
committerJan Tuomi <jans.tuomi@gmail.com>2022-02-11 15:24:52 +0200
commit664e622fbb5d528e14d42da7baf9505b79f3d041 (patch)
tree7cb89d71aa9650a4c009be5c4be1f043a8797743 /README.md
Initial commit
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..866ee3d
--- /dev/null
+++ b/README.md
@@ -0,0 +1,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
+```