Closed waziers closed 4 months ago
@LukaFontanilla - I also added some additional context in the documentation https://explore-assistant.datadriven.works/docs/explore-assistant/backend/terraform_setup
@LukaFontanilla - sorry for the cross-commit, reverted those. I'll also make the default be local
The default is now back to a local backend. You can run the init.sh
script (as documented in the README) for using a remote backend
We are using terraform to setup the backend. We will also be hosting the terraform state inside the project itself by using a remote backend. The configuration is passed on the command line since we want to use the project-id in the bucket name. Since the project-ids are globally unique, so will the storage bucket name.
The remote backend is important so that the terraform state isn't locked into an individual cloud shell, or user laptop. This will allow multiple people to work on the same explore assistant backend, and also allow one person to work on multiple backends.