Problem
I’m trying to create a Dataform repository from BigQuery (Dataform) in project kkgcplabs01-029.
When I choose location africa-south1, I get the error:
API request error: “africa-south1” violates constraint “constraints/gcp.resourceLocations” on the resource “projects/kkgcplabs01-029/locations/africa-south1/repositories/somename1234”.
Environment
- Product: BigQuery Dataform (Repository creation)
- Project: kkgcplabs01-029
- Region selected: africa-south1
- Organization / Folder policies: Unknown; suspect resource location restriction
Steps to Reproduce
- Open BigQuery in the Cloud Console.
- Navigate to Dataform → Create repository.
- Choose repository name
somename1234.
- Select location
africa-south1.
- Click Create.
Expected
Repository should be created in africa-south1 for POC okay to be created in any region.
Actual
Creation fails with org policy error: constraints/gcp.resourceLocations.
What I’ve Tried
- Tried different names. and different regions as well
- Verified I can create other resources in the project.
- Checked that Dataform is enabled.
- Suspect the organization policy restricts regions but I don’t have full visibility.
Questions
- Does Dataform repository creation follow the organization policy
constraints/gcp.resourceLocations for allowed regions?
- Is
africa-south1 supported for Dataform repositories? If not, what are the supported regions?
- If this is due to org policy, what’s the recommended way to allow this region (at project or folder level) without overly broadening the policy?
- Any temporary workaround (e.g., using an allowed region) that preserves data residency compliance?
Problem
I’m trying to create a Dataform repository from BigQuery (Dataform) in project kkgcplabs01-029.
When I choose location africa-south1, I get the error:
API request error: “africa-south1” violates constraint “constraints/gcp.resourceLocations” on the resource “projects/kkgcplabs01-029/locations/africa-south1/repositories/somename1234”.
Environment
- Product: BigQuery Dataform (Repository creation)
- Project: kkgcplabs01-029
- Region selected: africa-south1
- IAM role(s): (e.g., BigQuery Admin / Dataform Admin / Project Editor — please confirm if relevant)
- Organization / Folder policies: Unknown; suspect resource location restriction
Steps to Reproduce
- Open BigQuery in the Cloud Console.
- Navigate to Dataform → Create repository.
- Choose repository name
somename1234.
- Select location
africa-south1.
- Click Create.
Expected
Repository should be created in africa-south1.
Actual
Creation fails with org policy error: constraints/gcp.resourceLocations.
What I’ve Tried
- Tried different names. and different regions as well
- Verified I can create other resources in the project.
- Checked that Dataform is enabled.
- Suspect the organization policy restricts regions but I don’t have full visibility.
Questions
- Does Dataform repository creation follow the organization policy
constraints/gcp.resourceLocations for allowed regions?
- Is
africa-south1 supported for Dataform repositories? If not, what are the supported regions?
- If this is due to org policy, what’s the recommended way to allow this region (at project or folder level) without overly broadening the policy?
- Any temporary workaround (e.g., using an allowed region) that preserves data residency compliance?
Is this for a lab (I don’t know of one similar to this) or using our GCP playground? If the latter, we support only US regions – not south africa – and I’m not sure we support BigQuery (Permission ‘dataform.repositories.create’ ) in any of those.