From 7e84891ac6204a074f70014c50b3b0205a463b13 Mon Sep 17 00:00:00 2001 From: Ashutosh Saini Date: Thu, 3 Sep 2026 10:04:09 +0530 Subject: [PATCH 1/2] docs: add note about manual query template approval --- mmv1/products/bigqueryanalyticshub/QueryTemplate.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mmv1/products/bigqueryanalyticshub/QueryTemplate.yaml b/mmv1/products/bigqueryanalyticshub/QueryTemplate.yaml index 3959477dea5e..9332087a6c80 100644 --- a/mmv1/products/bigqueryanalyticshub/QueryTemplate.yaml +++ b/mmv1/products/bigqueryanalyticshub/QueryTemplate.yaml @@ -20,6 +20,8 @@ description: | Represents a BigQuery Query Template within a Data Exchange. This resource defines a reusable SQL routine (e.g., a TVF) that can be shared or executed via the Data Exchange. + ~> **Note:** Approving a Query Template is not supported by Terraform. The approve flow includes steps that can only be performed through the Google Cloud console UI. You can still create a Query Template (e.g. a TVF) and add it as a listing to a Data Clean Room via Terraform, but the final approval must be done manually. + references: guides: "Use query templates": "https://docs.cloud.google.com/bigquery/docs/query-templates" @@ -70,7 +72,7 @@ custom_code: post_create: "templates/terraform/post_create/bigquery_analytics_hub_query_template.go.tmpl" custom_delete: "templates/terraform/custom_delete/bigquery_analytics_hub_query_template.go.tmpl" custom_diff: - - 'resourceBigqueryAnalyticsHubQueryTemplateCustomDiff' + - "resourceBigqueryAnalyticsHubQueryTemplateCustomDiff" virtual_fields: - name: "submit" type: Boolean From 56e98aca3038046f08d6327982ac79edf8ba6466 Mon Sep 17 00:00:00 2001 From: Ashutosh Saini Date: Thu, 3 Sep 2026 10:06:06 +0530 Subject: [PATCH 2/2] docs: add note about manual query template approval --- mmv1/products/bigqueryanalyticshub/QueryTemplate.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mmv1/products/bigqueryanalyticshub/QueryTemplate.yaml b/mmv1/products/bigqueryanalyticshub/QueryTemplate.yaml index 9332087a6c80..9aa64aef3f0d 100644 --- a/mmv1/products/bigqueryanalyticshub/QueryTemplate.yaml +++ b/mmv1/products/bigqueryanalyticshub/QueryTemplate.yaml @@ -72,7 +72,7 @@ custom_code: post_create: "templates/terraform/post_create/bigquery_analytics_hub_query_template.go.tmpl" custom_delete: "templates/terraform/custom_delete/bigquery_analytics_hub_query_template.go.tmpl" custom_diff: - - "resourceBigqueryAnalyticsHubQueryTemplateCustomDiff" + - 'resourceBigqueryAnalyticsHubQueryTemplateCustomDiff' virtual_fields: - name: "submit" type: Boolean