See gcf-mock/README.md
More details to come. Here's the gist:
- Deploy Action to Google Cloud Functions
- Specify
actionas the directory where the function/module is defined - Specify
httpHandleras the exported function to call - Environment variables
- CALLBACK_URL_PREFIX (e.g.
https://<region>-<project>.cloudfunctions.net/<function>) - EXPECTED_LOOKER_SECRET_TOKEN (choose any random string)
- CALLBACK_URL_PREFIX (e.g.
- Specify
- Configure Looker instance
- /admin/actions
- Enter the expected secret token from step 1
- /admin/actions
