Closed Bug 1615086 Opened 4 years ago Closed 4 years ago

Add flag to BQ table deployment script that will only deploy pioneer* tables

Categories

(Data Platform and Tools :: General, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bugzilla, Unassigned)

References

Details

Per discussion with whd and Anthony, the simplest thing to do re: pioneer schemas would be continue to use the current repository but add a flag that will only deploy pioneer schemas to:
https://github.com/mozilla-services/cloudops-infra/blob/master/projects/data-shared/tf/modules/bigquery/generate_tfjson.sh#L70

We assume that anything that starts with pioneer should be deployed when the flag is set (and the inverse when it's not, e.g. we'll want to make sure the rules skip all schemas that start with "pioneer" instead of skip just the whole word match)

See Also: → 1628539

The inverse logic for this was implemented in shared projects BQ management via https://github.com/mozilla-services/cloudops-infra/pull/2112

The logic for pioneer is significantly refactored to use terraform 0.12, and was written and tested to be sufficiently general to replace the existing 0.11 logic in the shared projects eventually. It uses namespace_match_type (include or exclude) and namespace_match (e.g. ^pioneer-.*$) in order to control the namespaces that a particular ingestion stack includes.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Component: Pipeline Ingestion → General
You need to log in before you can comment on or make changes to this bug.