diff --git a/blueprints/gke/patterns/autopilot-cluster/versions.tf b/blueprints/gke/patterns/autopilot-cluster/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/blueprints/gke/patterns/autopilot-cluster/versions.tf +++ b/blueprints/gke/patterns/autopilot-cluster/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/blueprints/gke/patterns/batch/versions.tf b/blueprints/gke/patterns/batch/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/blueprints/gke/patterns/batch/versions.tf +++ b/blueprints/gke/patterns/batch/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/blueprints/gke/patterns/kafka/versions.tf b/blueprints/gke/patterns/kafka/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/blueprints/gke/patterns/kafka/versions.tf +++ b/blueprints/gke/patterns/kafka/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/blueprints/gke/patterns/kong-cloudrun/versions.tf b/blueprints/gke/patterns/kong-cloudrun/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/blueprints/gke/patterns/kong-cloudrun/versions.tf +++ b/blueprints/gke/patterns/kong-cloudrun/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/blueprints/gke/patterns/mysql/versions.tf b/blueprints/gke/patterns/mysql/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/blueprints/gke/patterns/mysql/versions.tf +++ b/blueprints/gke/patterns/mysql/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/blueprints/gke/patterns/redis-cluster/versions.tf b/blueprints/gke/patterns/redis-cluster/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/blueprints/gke/patterns/redis-cluster/versions.tf +++ b/blueprints/gke/patterns/redis-cluster/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/default-versions.tf b/default-versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/default-versions.tf +++ b/default-versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/__experimental_deprecated/alloydb-instance/versions.tf b/modules/__experimental_deprecated/alloydb-instance/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/__experimental_deprecated/alloydb-instance/versions.tf +++ b/modules/__experimental_deprecated/alloydb-instance/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/__experimental_deprecated/net-neg/versions.tf b/modules/__experimental_deprecated/net-neg/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/__experimental_deprecated/net-neg/versions.tf +++ b/modules/__experimental_deprecated/net-neg/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/__experimental_deprecated/project-iam-magic/versions.tf b/modules/__experimental_deprecated/project-iam-magic/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/__experimental_deprecated/project-iam-magic/versions.tf +++ b/modules/__experimental_deprecated/project-iam-magic/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/alloydb/versions.tf b/modules/alloydb/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/alloydb/versions.tf +++ b/modules/alloydb/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/analytics-hub/versions.tf b/modules/analytics-hub/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/analytics-hub/versions.tf +++ b/modules/analytics-hub/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/api-gateway/versions.tf b/modules/api-gateway/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/api-gateway/versions.tf +++ b/modules/api-gateway/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/apigee/versions.tf b/modules/apigee/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/apigee/versions.tf +++ b/modules/apigee/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/artifact-registry/versions.tf b/modules/artifact-registry/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/artifact-registry/versions.tf +++ b/modules/artifact-registry/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/bigquery-dataset/versions.tf b/modules/bigquery-dataset/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/bigquery-dataset/versions.tf +++ b/modules/bigquery-dataset/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/bigtable-instance/versions.tf b/modules/bigtable-instance/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/bigtable-instance/versions.tf +++ b/modules/bigtable-instance/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/billing-account/versions.tf b/modules/billing-account/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/billing-account/versions.tf +++ b/modules/billing-account/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/binauthz/versions.tf b/modules/binauthz/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/binauthz/versions.tf +++ b/modules/binauthz/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/certificate-manager/versions.tf b/modules/certificate-manager/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/certificate-manager/versions.tf +++ b/modules/certificate-manager/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/cloud-config-container/__need_fixing/onprem/versions.tf b/modules/cloud-config-container/__need_fixing/onprem/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/cloud-config-container/__need_fixing/onprem/versions.tf +++ b/modules/cloud-config-container/__need_fixing/onprem/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/cloud-config-container/__need_fixing/squid/versions.tf b/modules/cloud-config-container/__need_fixing/squid/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/cloud-config-container/__need_fixing/squid/versions.tf +++ b/modules/cloud-config-container/__need_fixing/squid/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/cloud-config-container/bindplane/versions.tf b/modules/cloud-config-container/bindplane/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/cloud-config-container/bindplane/versions.tf +++ b/modules/cloud-config-container/bindplane/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/cloud-config-container/coredns/versions.tf b/modules/cloud-config-container/coredns/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/cloud-config-container/coredns/versions.tf +++ b/modules/cloud-config-container/coredns/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/cloud-config-container/cos-generic-metadata/versions.tf b/modules/cloud-config-container/cos-generic-metadata/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/cloud-config-container/cos-generic-metadata/versions.tf +++ b/modules/cloud-config-container/cos-generic-metadata/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/cloud-config-container/envoy-sni-dyn-fwd-proxy/versions.tf b/modules/cloud-config-container/envoy-sni-dyn-fwd-proxy/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/cloud-config-container/envoy-sni-dyn-fwd-proxy/versions.tf +++ b/modules/cloud-config-container/envoy-sni-dyn-fwd-proxy/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/cloud-config-container/envoy-traffic-director/versions.tf b/modules/cloud-config-container/envoy-traffic-director/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/cloud-config-container/envoy-traffic-director/versions.tf +++ b/modules/cloud-config-container/envoy-traffic-director/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/cloud-config-container/mysql/versions.tf b/modules/cloud-config-container/mysql/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/cloud-config-container/mysql/versions.tf +++ b/modules/cloud-config-container/mysql/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/cloud-config-container/nginx-tls/versions.tf b/modules/cloud-config-container/nginx-tls/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/cloud-config-container/nginx-tls/versions.tf +++ b/modules/cloud-config-container/nginx-tls/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/cloud-config-container/nginx/versions.tf b/modules/cloud-config-container/nginx/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/cloud-config-container/nginx/versions.tf +++ b/modules/cloud-config-container/nginx/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/cloud-config-container/simple-nva/versions.tf b/modules/cloud-config-container/simple-nva/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/cloud-config-container/simple-nva/versions.tf +++ b/modules/cloud-config-container/simple-nva/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/cloud-function-v1/versions.tf b/modules/cloud-function-v1/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/cloud-function-v1/versions.tf +++ b/modules/cloud-function-v1/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/cloud-function-v2/versions.tf b/modules/cloud-function-v2/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/cloud-function-v2/versions.tf +++ b/modules/cloud-function-v2/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/cloud-identity-group/versions.tf b/modules/cloud-identity-group/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/cloud-identity-group/versions.tf +++ b/modules/cloud-identity-group/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/cloud-run-v2/versions.tf b/modules/cloud-run-v2/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/cloud-run-v2/versions.tf +++ b/modules/cloud-run-v2/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/cloud-run/versions.tf b/modules/cloud-run/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/cloud-run/versions.tf +++ b/modules/cloud-run/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/cloudsql-instance/versions.tf b/modules/cloudsql-instance/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/cloudsql-instance/versions.tf +++ b/modules/cloudsql-instance/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/compute-mig/versions.tf b/modules/compute-mig/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/compute-mig/versions.tf +++ b/modules/compute-mig/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/compute-vm/versions.tf b/modules/compute-vm/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/compute-vm/versions.tf +++ b/modules/compute-vm/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/container-registry/versions.tf b/modules/container-registry/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/container-registry/versions.tf +++ b/modules/container-registry/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/data-catalog-policy-tag/versions.tf b/modules/data-catalog-policy-tag/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/data-catalog-policy-tag/versions.tf +++ b/modules/data-catalog-policy-tag/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/data-catalog-tag-template/versions.tf b/modules/data-catalog-tag-template/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/data-catalog-tag-template/versions.tf +++ b/modules/data-catalog-tag-template/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/data-catalog-tag/versions.tf b/modules/data-catalog-tag/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/data-catalog-tag/versions.tf +++ b/modules/data-catalog-tag/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/dataform-repository/versions.tf b/modules/dataform-repository/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/dataform-repository/versions.tf +++ b/modules/dataform-repository/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/datafusion/versions.tf b/modules/datafusion/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/datafusion/versions.tf +++ b/modules/datafusion/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/dataplex-datascan/README.md b/modules/dataplex-datascan/README.md index 4b9ecbccc3..e36ded9ac1 100644 --- a/modules/dataplex-datascan/README.md +++ b/modules/dataplex-datascan/README.md @@ -43,7 +43,7 @@ module "dataplex-datascan" { To create an Data Quality scan, provide the `data_quality_spec` input arguments as documented in . -Documentation for the supported rule types and rule specifications can be found in . +Documentation for the supported rule types and rule specifications can be found in . This example shows how to create a Data Quality scan. @@ -137,6 +137,19 @@ module "dataplex-datascan" { table_condition_expectation = { sql_expression = "COUNT(*) > 0" } + }, + { + dimension = "VALIDITY" + sql_assertion = { + sql_statement = <<-EOT + SELECT + city_asset_number, council_district + FROM $${data()} + WHERE city_asset_number IS NOT NULL + GROUP BY 1,2 + HAVING COUNT(*) > 1 + EOT + } } ] } @@ -225,6 +238,15 @@ rules: - dimension: VALIDITY table_condition_expectation: sql_expression: COUNT(*) > 0 + - dimension: VALIDITY + sql_assertion: + sql_statement: | + SELECT + city_asset_number, council_district + FROM ${data()} + WHERE city_asset_number IS NOT NULL + GROUP BY 1,2 + HAVING COUNT(*) > 1 ``` While the module only accepts input in snake_case, the YAML file provided to the `data_quality_spec_file` variable can use either camelCase or snake_case. This example below should also produce the same DataScan configuration as the previous examples. @@ -308,6 +330,15 @@ rules: - dimension: VALIDITY tableConditionExpectation: sqlExpression: COUNT(*) > 0 + - dimension: VALIDITY + sqlAssertion: + sqlStatement: | + SELECT + city_asset_number, council_district + FROM ${data()} + WHERE city_asset_number IS NOT NULL + GROUP BY 1,2 + HAVING COUNT(*) > 1 ``` ## Data Source @@ -431,21 +462,21 @@ module "dataplex-datascan" { | name | description | type | required | default | |---|---|:---:|:---:|:---:| | [data](variables.tf#L17) | The data source for DataScan. The source can be either a Dataplex `entity` or a BigQuery `resource`. | object({…}) | ✓ | | -| [name](variables.tf#L119) | Name of Dataplex Scan. | string | ✓ | | -| [project_id](variables.tf#L130) | The ID of the project where the Dataplex DataScan will be created. | string | ✓ | | -| [region](variables.tf#L135) | Region for the Dataplex DataScan. | string | ✓ | | +| [name](variables.tf#L122) | Name of Dataplex Scan. | string | ✓ | | +| [project_id](variables.tf#L133) | The ID of the project where the Dataplex DataScan will be created. | string | ✓ | | +| [region](variables.tf#L138) | Region for the Dataplex DataScan. | string | ✓ | | | [data_profile_spec](variables.tf#L29) | DataProfileScan related setting. Variable descriptions are provided in https://cloud.google.com/dataplex/docs/reference/rest/v1/DataProfileSpec. | object({…}) | | null | -| [data_quality_spec](variables.tf#L38) | DataQualityScan related setting. Variable descriptions are provided in https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualitySpec. | object({…}) | | null | -| [description](variables.tf#L85) | Custom description for DataScan. | string | | null | -| [execution_schedule](variables.tf#L91) | Schedule DataScan to run periodically based on a cron schedule expression. If not specified, the DataScan is created with `on_demand` schedule, which means it will not run until the user calls `dataScans.run` API. | string | | null | -| [factories_config](variables.tf#L97) | Paths to data files and folders that enable factory functionality. | object({…}) | | {} | +| [data_quality_spec](variables.tf#L38) | DataQualityScan related setting. Variable descriptions are provided in https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualitySpec. | object({…}) | | null | +| [description](variables.tf#L88) | Custom description for DataScan. | string | | null | +| [execution_schedule](variables.tf#L94) | Schedule DataScan to run periodically based on a cron schedule expression. If not specified, the DataScan is created with `on_demand` schedule, which means it will not run until the user calls `dataScans.run` API. | string | | null | +| [factories_config](variables.tf#L100) | Paths to data files and folders that enable factory functionality. | object({…}) | | {} | | [iam](variables-iam.tf#L24) | Dataplex DataScan IAM bindings in {ROLE => [MEMBERS]} format. | map(list(string)) | | {} | | [iam_bindings](variables-iam.tf#L31) | Authoritative IAM bindings in {KEY => {role = ROLE, members = [], condition = {}}}. Keys are arbitrary. | map(object({…})) | | {} | | [iam_bindings_additive](variables-iam.tf#L46) | Individual additive IAM bindings. Keys are arbitrary. | map(object({…})) | | {} | | [iam_by_principals](variables-iam.tf#L17) | Authoritative IAM binding in {PRINCIPAL => [ROLES]} format. Principals need to be statically defined to avoid cycle errors. Merged internally with the `iam` variable. | map(list(string)) | | {} | -| [incremental_field](variables.tf#L106) | The unnested field (of type Date or Timestamp) that contains values which monotonically increase over time. If not specified, a data scan will run for all data in the table. | string | | null | -| [labels](variables.tf#L112) | Resource labels. | map(string) | | {} | -| [prefix](variables.tf#L124) | Optional prefix used to generate Dataplex DataScan ID. | string | | null | +| [incremental_field](variables.tf#L109) | The unnested field (of type Date or Timestamp) that contains values which monotonically increase over time. If not specified, a data scan will run for all data in the table. | string | | null | +| [labels](variables.tf#L115) | Resource labels. | map(string) | | {} | +| [prefix](variables.tf#L127) | Optional prefix used to generate Dataplex DataScan ID. | string | | null | ## Outputs diff --git a/modules/dataplex-datascan/factory.tf b/modules/dataplex-datascan/factory.tf index 964e232f12..e76f9af78f 100644 --- a/modules/dataplex-datascan/factory.tf +++ b/modules/dataplex-datascan/factory.tf @@ -139,6 +139,17 @@ locals { } : null ) + sql_assertion = ( + can(rule.sqlAssertion) || can(rule.sql_assertion) + ? { + sql_statement = try( + rule.sqlAssertion.sqlStatement, + rule.sql_assertion.sql_statement, + null + ) + } + : null + ) } ] sampling_percent = try( diff --git a/modules/dataplex-datascan/main.tf b/modules/dataplex-datascan/main.tf index 0d9ad82ed6..752fe7730d 100644 --- a/modules/dataplex-datascan/main.tf +++ b/modules/dataplex-datascan/main.tf @@ -203,6 +203,15 @@ resource "google_dataplex_datascan" "datascan" { } } + dynamic "sql_assertion" { + for_each = ( + try(rules.value.sql_assertion, null) != null ? [""] : [] + ) + content { + sql_statement = rules.value.sql_assertion.sql_statement + } + } + } } } @@ -240,10 +249,11 @@ resource "google_dataplex_datascan" "datascan" { "uniqueness_expectation", "statistic_range_expectation", "row_condition_expectation", - "table_condition_expectation" + "table_condition_expectation", + "sql_assertion" ], k) && v != null ]) == 1]) - error_message = "Datascan rule must contain a key that is one of ['non_null_expectation', 'range_expectation', 'regex_expectation', 'set_expectation', 'uniqueness_expectation', 'statistic_range_expectation', 'row_condition_expectation', 'table_condition_expectation]." + error_message = "Datascan rule must contain a key that is one of ['non_null_expectation', 'range_expectation', 'regex_expectation', 'set_expectation', 'uniqueness_expectation', 'statistic_range_expectation', 'row_condition_expectation', 'table_condition_expectation', 'sql_assertion']." } } } diff --git a/modules/dataplex-datascan/variables.tf b/modules/dataplex-datascan/variables.tf index c01774f75d..6c6a6a68e2 100644 --- a/modules/dataplex-datascan/variables.tf +++ b/modules/dataplex-datascan/variables.tf @@ -78,6 +78,9 @@ variable "data_quality_spec" { table_condition_expectation = optional(object({ sql_expression = string })) + sql_assertion = optional(object({ + sql_statement = string + })) })) }) } diff --git a/modules/dataplex-datascan/versions.tf b/modules/dataplex-datascan/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/dataplex-datascan/versions.tf +++ b/modules/dataplex-datascan/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/dataplex/versions.tf b/modules/dataplex/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/dataplex/versions.tf +++ b/modules/dataplex/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/dataproc/versions.tf b/modules/dataproc/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/dataproc/versions.tf +++ b/modules/dataproc/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/dns-response-policy/versions.tf b/modules/dns-response-policy/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/dns-response-policy/versions.tf +++ b/modules/dns-response-policy/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/dns/versions.tf b/modules/dns/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/dns/versions.tf +++ b/modules/dns/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/endpoints/versions.tf b/modules/endpoints/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/endpoints/versions.tf +++ b/modules/endpoints/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/firestore/versions.tf b/modules/firestore/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/firestore/versions.tf +++ b/modules/firestore/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/folder/versions.tf b/modules/folder/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/folder/versions.tf +++ b/modules/folder/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/gcs/versions.tf b/modules/gcs/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/gcs/versions.tf +++ b/modules/gcs/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/gcve-private-cloud/versions.tf b/modules/gcve-private-cloud/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/gcve-private-cloud/versions.tf +++ b/modules/gcve-private-cloud/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/gke-cluster-autopilot/versions.tf b/modules/gke-cluster-autopilot/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/gke-cluster-autopilot/versions.tf +++ b/modules/gke-cluster-autopilot/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/gke-cluster-standard/versions.tf b/modules/gke-cluster-standard/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/gke-cluster-standard/versions.tf +++ b/modules/gke-cluster-standard/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/gke-hub/versions.tf b/modules/gke-hub/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/gke-hub/versions.tf +++ b/modules/gke-hub/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/gke-nodepool/versions.tf b/modules/gke-nodepool/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/gke-nodepool/versions.tf +++ b/modules/gke-nodepool/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/iam-service-account/versions.tf b/modules/iam-service-account/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/iam-service-account/versions.tf +++ b/modules/iam-service-account/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/kms/versions.tf b/modules/kms/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/kms/versions.tf +++ b/modules/kms/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/logging-bucket/versions.tf b/modules/logging-bucket/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/logging-bucket/versions.tf +++ b/modules/logging-bucket/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/ncc-spoke-ra/versions.tf b/modules/ncc-spoke-ra/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/ncc-spoke-ra/versions.tf +++ b/modules/ncc-spoke-ra/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/net-address/versions.tf b/modules/net-address/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/net-address/versions.tf +++ b/modules/net-address/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/net-cloudnat/versions.tf b/modules/net-cloudnat/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/net-cloudnat/versions.tf +++ b/modules/net-cloudnat/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/net-firewall-policy/versions.tf b/modules/net-firewall-policy/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/net-firewall-policy/versions.tf +++ b/modules/net-firewall-policy/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/net-ipsec-over-interconnect/versions.tf b/modules/net-ipsec-over-interconnect/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/net-ipsec-over-interconnect/versions.tf +++ b/modules/net-ipsec-over-interconnect/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/net-lb-app-ext-regional/versions.tf b/modules/net-lb-app-ext-regional/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/net-lb-app-ext-regional/versions.tf +++ b/modules/net-lb-app-ext-regional/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/net-lb-app-ext/versions.tf b/modules/net-lb-app-ext/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/net-lb-app-ext/versions.tf +++ b/modules/net-lb-app-ext/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/net-lb-app-int-cross-region/versions.tf b/modules/net-lb-app-int-cross-region/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/net-lb-app-int-cross-region/versions.tf +++ b/modules/net-lb-app-int-cross-region/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/net-lb-app-int/versions.tf b/modules/net-lb-app-int/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/net-lb-app-int/versions.tf +++ b/modules/net-lb-app-int/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/net-lb-ext/versions.tf b/modules/net-lb-ext/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/net-lb-ext/versions.tf +++ b/modules/net-lb-ext/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/net-lb-int/versions.tf b/modules/net-lb-int/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/net-lb-int/versions.tf +++ b/modules/net-lb-int/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/net-lb-proxy-int/versions.tf b/modules/net-lb-proxy-int/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/net-lb-proxy-int/versions.tf +++ b/modules/net-lb-proxy-int/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/net-swp/versions.tf b/modules/net-swp/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/net-swp/versions.tf +++ b/modules/net-swp/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/net-vlan-attachment/versions.tf b/modules/net-vlan-attachment/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/net-vlan-attachment/versions.tf +++ b/modules/net-vlan-attachment/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/net-vpc-firewall/versions.tf b/modules/net-vpc-firewall/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/net-vpc-firewall/versions.tf +++ b/modules/net-vpc-firewall/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/net-vpc-peering/versions.tf b/modules/net-vpc-peering/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/net-vpc-peering/versions.tf +++ b/modules/net-vpc-peering/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/net-vpc/versions.tf b/modules/net-vpc/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/net-vpc/versions.tf +++ b/modules/net-vpc/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/net-vpn-dynamic/versions.tf b/modules/net-vpn-dynamic/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/net-vpn-dynamic/versions.tf +++ b/modules/net-vpn-dynamic/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/net-vpn-ha/versions.tf b/modules/net-vpn-ha/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/net-vpn-ha/versions.tf +++ b/modules/net-vpn-ha/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/net-vpn-static/versions.tf b/modules/net-vpn-static/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/net-vpn-static/versions.tf +++ b/modules/net-vpn-static/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/organization/versions.tf b/modules/organization/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/organization/versions.tf +++ b/modules/organization/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/project/versions.tf b/modules/project/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/project/versions.tf +++ b/modules/project/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/projects-data-source/versions.tf b/modules/projects-data-source/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/projects-data-source/versions.tf +++ b/modules/projects-data-source/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/pubsub/versions.tf b/modules/pubsub/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/pubsub/versions.tf +++ b/modules/pubsub/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/secret-manager/versions.tf b/modules/secret-manager/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/secret-manager/versions.tf +++ b/modules/secret-manager/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/service-directory/versions.tf b/modules/service-directory/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/service-directory/versions.tf +++ b/modules/service-directory/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/source-repository/versions.tf b/modules/source-repository/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/source-repository/versions.tf +++ b/modules/source-repository/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/spanner-instance/versions.tf b/modules/spanner-instance/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/spanner-instance/versions.tf +++ b/modules/spanner-instance/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/vpc-sc/versions.tf b/modules/vpc-sc/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/vpc-sc/versions.tf +++ b/modules/vpc-sc/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/modules/workstation-cluster/versions.tf b/modules/workstation-cluster/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/modules/workstation-cluster/versions.tf +++ b/modules/workstation-cluster/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/tests/examples_e2e/setup_module/versions.tf b/tests/examples_e2e/setup_module/versions.tf index d1f29b96bb..d511c2b45e 100644 --- a/tests/examples_e2e/setup_module/versions.tf +++ b/tests/examples_e2e/setup_module/versions.tf @@ -17,11 +17,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } google-beta = { source = "hashicorp/google-beta" - version = ">= 5.34.0, < 6.0.0" # tftest + version = ">= 5.37.0, < 6.0.0" # tftest } } } diff --git a/tests/modules/dataplex_datascan/datascan_test_inputs.tfvars b/tests/modules/dataplex_datascan/datascan_test_inputs.tfvars index 58f4870c81..fef7746f8d 100644 --- a/tests/modules/dataplex_datascan/datascan_test_inputs.tfvars +++ b/tests/modules/dataplex_datascan/datascan_test_inputs.tfvars @@ -111,6 +111,19 @@ data_quality_spec = { table_condition_expectation = { sql_expression = "COUNT(*) > 0" } + }, + { + dimension = "VALIDITY" + sql_assertion = { + sql_statement = <<-EOT + SELECT + city_asset_number, council_district + FROM $${data()} + WHERE city_asset_number IS NOT NULL + GROUP BY 1,2 + HAVING COUNT(*) > 1 + EOT + } } ] } diff --git a/tests/modules/dataplex_datascan/datascan_test_inputs.yaml b/tests/modules/dataplex_datascan/datascan_test_inputs.yaml index 154ea7af25..b749b26d00 100644 --- a/tests/modules/dataplex_datascan/datascan_test_inputs.yaml +++ b/tests/modules/dataplex_datascan/datascan_test_inputs.yaml @@ -32,6 +32,7 @@ values: regex_expectation: [] row_condition_expectation: [] set_expectation: [] + sql_assertion: [] statistic_range_expectation: [] table_condition_expectation: [] threshold: 0.99 @@ -50,6 +51,7 @@ values: regex_expectation: [] row_condition_expectation: [] set_expectation: [] + sql_assertion: [] statistic_range_expectation: [] table_condition_expectation: [] threshold: 0.9 @@ -68,6 +70,7 @@ values: regex_expectation: [] row_condition_expectation: [] set_expectation: [] + sql_assertion: [] statistic_range_expectation: [] table_condition_expectation: [] threshold: 0.8 @@ -83,6 +86,7 @@ values: - regex: .*solar.* row_condition_expectation: [] set_expectation: [] + sql_assertion: [] statistic_range_expectation: [] table_condition_expectation: [] threshold: null @@ -100,6 +104,7 @@ values: - values: - sidewalk - parkland + sql_assertion: [] statistic_range_expectation: [] table_condition_expectation: [] threshold: null @@ -114,6 +119,7 @@ values: regex_expectation: [] row_condition_expectation: [] set_expectation: [] + sql_assertion: [] statistic_range_expectation: [] table_condition_expectation: [] threshold: null @@ -129,6 +135,7 @@ values: regex_expectation: [] row_condition_expectation: [] set_expectation: [] + sql_assertion: [] statistic_range_expectation: - max_value: '15' min_value: '5' @@ -149,6 +156,7 @@ values: row_condition_expectation: - sql_expression: footprint_length > 0 AND footprint_length <= 10 set_expectation: [] + sql_assertion: [] statistic_range_expectation: [] table_condition_expectation: [] threshold: null @@ -163,11 +171,34 @@ values: regex_expectation: [] row_condition_expectation: [] set_expectation: [] + sql_assertion: [] statistic_range_expectation: [] table_condition_expectation: - sql_expression: COUNT(*) > 0 threshold: null uniqueness_expectation: [] + - column: null + name: null + description: null + dimension: VALIDITY + ignore_null: null + non_null_expectation: [] + range_expectation: [] + regex_expectation: [] + row_condition_expectation: [] + set_expectation: [] + sql_assertion: + - sql_statement: | + SELECT + city_asset_number, council_district + FROM ${data()} + WHERE city_asset_number IS NOT NULL + GROUP BY 1,2 + HAVING COUNT(*) > 1 + statistic_range_expectation: [] + table_condition_expectation: [] + threshold: null + uniqueness_expectation: [] sampling_percent: 100 data_scan_id: test-datascan description: Terraform Managed. Custom description. diff --git a/tests/modules/dataplex_datascan/examples/datascan_dq.yaml b/tests/modules/dataplex_datascan/examples/datascan_dq.yaml index 98192956cd..c6255479d0 100644 --- a/tests/modules/dataplex_datascan/examples/datascan_dq.yaml +++ b/tests/modules/dataplex_datascan/examples/datascan_dq.yaml @@ -32,6 +32,7 @@ values: regex_expectation: [] row_condition_expectation: [] set_expectation: [] + sql_assertion: [] statistic_range_expectation: [] table_condition_expectation: [] threshold: 0.99 @@ -50,6 +51,7 @@ values: regex_expectation: [] row_condition_expectation: [] set_expectation: [] + sql_assertion: [] statistic_range_expectation: [] table_condition_expectation: [] threshold: 0.9 @@ -68,6 +70,7 @@ values: regex_expectation: [] row_condition_expectation: [] set_expectation: [] + sql_assertion: [] statistic_range_expectation: [] table_condition_expectation: [] threshold: 0.8 @@ -83,6 +86,7 @@ values: - regex: .*solar.* row_condition_expectation: [] set_expectation: [] + sql_assertion: [] statistic_range_expectation: [] table_condition_expectation: [] threshold: null @@ -100,6 +104,7 @@ values: - values: - sidewalk - parkland + sql_assertion: [] statistic_range_expectation: [] table_condition_expectation: [] threshold: null @@ -114,6 +119,7 @@ values: regex_expectation: [] row_condition_expectation: [] set_expectation: [] + sql_assertion: [] statistic_range_expectation: [] table_condition_expectation: [] threshold: null @@ -129,6 +135,7 @@ values: regex_expectation: [] row_condition_expectation: [] set_expectation: [] + sql_assertion: [] statistic_range_expectation: - max_value: '15' min_value: '5' @@ -149,6 +156,7 @@ values: row_condition_expectation: - sql_expression: footprint_length > 0 AND footprint_length <= 10 set_expectation: [] + sql_assertion: [] statistic_range_expectation: [] table_condition_expectation: [] threshold: null @@ -163,11 +171,34 @@ values: regex_expectation: [] row_condition_expectation: [] set_expectation: [] + sql_assertion: [] statistic_range_expectation: [] table_condition_expectation: - sql_expression: COUNT(*) > 0 threshold: null uniqueness_expectation: [] + - column: null + name: null + description: null + dimension: VALIDITY + ignore_null: null + non_null_expectation: [] + range_expectation: [] + regex_expectation: [] + row_condition_expectation: [] + set_expectation: [] + sql_assertion: + - sql_statement: | + SELECT + city_asset_number, council_district + FROM ${data()} + WHERE city_asset_number IS NOT NULL + GROUP BY 1,2 + HAVING COUNT(*) > 1 + statistic_range_expectation: [] + table_condition_expectation: [] + threshold: null + uniqueness_expectation: [] sampling_percent: 100 data_scan_id: test-datascan description: Terraform Managed.