looker-open-source / looker-explore-assistant

A React Application for interacting with Looker data through natural language.
MIT License
83 stars 52 forks source link

Feat remote backend #66

Closed waziers closed 1 month ago

waziers commented 1 month ago

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.

waziers commented 1 month ago

@LukaFontanilla - I also added some additional context in the documentation https://explore-assistant.datadriven.works/docs/explore-assistant/backend/terraform_setup

waziers commented 1 month ago

@LukaFontanilla - sorry for the cross-commit, reverted those. I'll also make the default be local

waziers commented 1 month ago

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