Skip to content

feat: add --use-cloud-function flag to validate_config#3286

Open
scholtzan wants to merge 1 commit into
mainfrom
validation-no-cloud-function
Open

feat: add --use-cloud-function flag to validate_config#3286
scholtzan wants to merge 1 commit into
mainfrom
validation-no-cloud-function

Conversation

@scholtzan

Copy link
Copy Markdown
Collaborator

Add a --use-cloud-function/--no-use-cloud-function option to validate_config (default is still true). With --no-use-cloud-function, queries are dry run using the current user's credentials instead of the dry run Cloud Function's service account, allowing validation of configs that reference tables only the user can read (e.g. personal analysis tables).

This came up in https://mozilla.slack.com/archives/C4D5ZA91B/p1783631377972719

If I remember correctly, it was intentional for the dryrun SA not to have access to personal/tmp tables. Though I don't remember the full reason. This flag would be useful in any case though, e.g. if tables are in sandbox projects.

Add a --use-cloud-function/--no-use-cloud-function option to
validate_config (default on). With --no-use-cloud-function, queries are
dry run using the current user's credentials instead of the dry run
Cloud Function's service account, allowing validation of configs that
reference tables only the user can read (e.g. personal analysis tables).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant