Like other cloud providers, Google Cloud Platform handles data access rights with a mish-mash of mechanisms.
GCP supports tags, IAM permissions and roles, etc. But it also supports BigQuery policy tags.
“Normal” tags can be managed via infra as code. For instance, here it is for Terraform.
But I cannot find any way to manage BigQuery policy tags via infra as code. Is this possible?
I don’t need infra as code, per se, but I need the core guarantees that it provides for this use case:
- Free, up-to-date documentation ==> the repository (or some other centralized location) contains the truth on what policies are deployed, and how.
- Occasional checks and guarantees that the real world matches our understanding.
terraform plan
andapply
check to ensure that what exists in the wild matches understanding of what should be in the wild.
How can I achieve this, with BigQuery policy tags? Any examples or documentation would be greatly appreciated!