Skip to content

Latest commit

 

History

History

terraform

Required software

  • Terraform (tested on v0.12.24)
  • gcloud CLI
  • Docker (with daemon running)
Terraform v0.12.24

Google Cloud SDK 290.0.1
alpha 2019.05.17
beta 2019.05.17
core 2020.04.24

Setup

  1. Authorize in gcloud CLI.

This projects aims to allow as easy as possible setup. Default application login is not recommended for production use.

gcloud auth login
gcloud config set account
gcloud auth application-default login
  1. Run make. While terraform is running, you will be asked to confirm applying changes. Answer wih yes.
make
  1. Make sure you enable Email/Password authentication provider in Firebase as described in the make output.

a. Open FireBase console: https://console.firebase.google.com b. Choose Wild Workouts project c. Go to Authentication d. Choose Sign-in method tab e. Click on Email/Password, switch to Enabled and click Save.

Cloud builds

Go to https://console.cloud.google.com/cloud-build/builds to see your recent builds.

Destroy

If you want to tear down the project, run make destroy.

If you want to create it again, make sure to:

  • Use different project name.
  • Remove terraform.tfstate file.