From 664e622fbb5d528e14d42da7baf9505b79f3d041 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Sun, 6 Feb 2022 17:08:22 +0200 Subject: Initial commit --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 README.md (limited to 'README.md') 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 +``` -- cgit v1.3