Skip to main content

GCP Dataform Repository

A Dataform Repository is the top-level container that holds all of the SQLX files, declarations and workflow settings that make up a Dataform project in Google Cloud. Each repository lives in a specific GCP location and is version-controlled either by Dataform’s built-in Git service or an external Git provider. It can optionally be encrypted with a customer-managed key (CMEK) and supports fine-grained IAM controls.
For full details see the official documentation: https://cloud.google.com/dataform/reference/rest/v1/projects.locations.repositories

Terrafrom Mappings:

  • google_dataform_repository.id

Supported Methods

  • GET: Get a gcp-dataform-repository by its "locations|repositories"
  • LIST
  • SEARCH: Search for Dataform repositories in a location. Use the format "location" or "projects/project_id/locations/location/repositories/repository_name" which is supported for terraform mappings.

gcp-cloud-kms-crypto-key

A Dataform repository can be configured to use a customer-managed encryption key (CMEK) to protect its metadata and stored files. When such a key is specified, Overmind links the repository resource to the corresponding Cloud KMS Crypto Key so that you can trace encryption dependencies and assess key-management risks.