Merge remote-tracking branch 'origin/master' into fast-dev
This commit is contained in:
47
tests/modules/bigquery_connection/examples/cloudsql.yaml
Normal file
47
tests/modules/bigquery_connection/examples/cloudsql.yaml
Normal file
@@ -0,0 +1,47 @@
|
||||
# Copyright 2025 Google LLC
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
values:
|
||||
module.bigquery-connection.google_bigquery_connection.connection:
|
||||
aws: []
|
||||
azure: []
|
||||
cloud_resource: []
|
||||
cloud_spanner: []
|
||||
cloud_sql:
|
||||
- credential:
|
||||
- password: my-password
|
||||
username: my-username
|
||||
database: my-database
|
||||
instance_id: my-instance-id
|
||||
type: POSTGRES
|
||||
connection_id: my-connection
|
||||
description: A connection to a Cloud SQL instance.
|
||||
friendly_name: My Cloud SQL Connection
|
||||
kms_key_name: null
|
||||
location: EU
|
||||
project: project-id
|
||||
spark: []
|
||||
timeouts: null
|
||||
module.bigquery-connection.google_bigquery_connection_iam_binding.authoritative["roles/bigquery.connectionUser"]:
|
||||
condition: []
|
||||
connection_id: my-connection
|
||||
location: EU
|
||||
members:
|
||||
- user:my-user@example.com
|
||||
project: project-id
|
||||
role: roles/bigquery.connectionUser
|
||||
|
||||
counts:
|
||||
google_bigquery_connection: 1
|
||||
google_bigquery_connection_iam_binding: 1
|
||||
38
tests/modules/bigquery_connection/examples/cloudsql_kms.yaml
Normal file
38
tests/modules/bigquery_connection/examples/cloudsql_kms.yaml
Normal file
@@ -0,0 +1,38 @@
|
||||
# Copyright 2025 Google LLC
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
values:
|
||||
module.bigquery-connection.google_bigquery_connection.connection:
|
||||
aws: []
|
||||
azure: []
|
||||
cloud_resource: []
|
||||
cloud_spanner: []
|
||||
cloud_sql:
|
||||
- credential:
|
||||
- password: my-password
|
||||
username: my-username
|
||||
database: my-database
|
||||
instance_id: my-instance-id
|
||||
type: POSTGRES
|
||||
connection_id: my-connection
|
||||
description: A connection to a Cloud SQL instance.
|
||||
friendly_name: My BigQuery Connection
|
||||
kms_key_name: my-key
|
||||
location: EU
|
||||
project: project-id
|
||||
spark: []
|
||||
timeouts: null
|
||||
|
||||
counts:
|
||||
google_bigquery_connection: 1
|
||||
47
tests/modules/bigquery_connection/examples/spanner.yaml
Normal file
47
tests/modules/bigquery_connection/examples/spanner.yaml
Normal file
@@ -0,0 +1,47 @@
|
||||
# Copyright 2025 Google LLC
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
values:
|
||||
module.bigquery-connection.google_bigquery_connection.connection:
|
||||
aws: []
|
||||
azure: []
|
||||
cloud_resource: []
|
||||
cloud_spanner:
|
||||
- database: projects/my-project/instances/my-instance/databases/my-database
|
||||
database_role: null
|
||||
max_parallelism: 2
|
||||
use_data_boost: true
|
||||
use_parallelism: true
|
||||
use_serverless_analytics: null
|
||||
cloud_sql: []
|
||||
connection_id: my-connection
|
||||
description: A connection to a Spanner instance.
|
||||
friendly_name: My BigQuery Connection
|
||||
kms_key_name: null
|
||||
location: EU
|
||||
project: project-id
|
||||
spark: []
|
||||
timeouts: null
|
||||
module.bigquery-connection.google_bigquery_connection_iam_binding.authoritative["roles/bigquery.connectionUser"]:
|
||||
condition: []
|
||||
connection_id: my-connection
|
||||
location: EU
|
||||
members:
|
||||
- user:my-user@example.com
|
||||
project: project-id
|
||||
role: roles/bigquery.connectionUser
|
||||
|
||||
counts:
|
||||
google_bigquery_connection: 1
|
||||
google_bigquery_connection_iam_binding: 1
|
||||
@@ -0,0 +1,47 @@
|
||||
# Copyright 2025 Google LLC
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
values:
|
||||
module.bigquery-connection.google_bigquery_connection.connection:
|
||||
aws: []
|
||||
azure: []
|
||||
cloud_resource: []
|
||||
cloud_spanner:
|
||||
- database: projects/my-project/instances/my-instance/databases/my-database
|
||||
database_role: null
|
||||
max_parallelism: 2
|
||||
use_data_boost: true
|
||||
use_parallelism: true
|
||||
use_serverless_analytics: null
|
||||
cloud_sql: []
|
||||
connection_id: my-connection
|
||||
description: A connection to a Spanner instance.
|
||||
friendly_name: My BigQuery Connection
|
||||
kms_key_name: null
|
||||
location: EU
|
||||
project: project-id
|
||||
spark: []
|
||||
timeouts: null
|
||||
module.bigquery-connection.google_bigquery_connection_iam_binding.authoritative["roles/bigquery.connectionUser"]:
|
||||
condition: []
|
||||
connection_id: my-connection
|
||||
location: EU
|
||||
members:
|
||||
- user:my-user@example.com
|
||||
project: project-id
|
||||
role: roles/bigquery.connectionUser
|
||||
|
||||
counts:
|
||||
google_bigquery_connection: 1
|
||||
google_bigquery_connection_iam_binding: 1
|
||||
@@ -48,7 +48,7 @@ values:
|
||||
project: my-project
|
||||
remote_function_options: []
|
||||
return_table_type: null
|
||||
return_type: null
|
||||
return_type: '{"typeKind":"STRING"}'
|
||||
routine_id: custom_masking_routine
|
||||
routine_type: SCALAR_FUNCTION
|
||||
spark_options: []
|
||||
@@ -58,4 +58,4 @@ counts:
|
||||
google_bigquery_dataset: 1
|
||||
google_bigquery_routine: 1
|
||||
modules: 1
|
||||
resources: 2
|
||||
resources: 2
|
||||
|
||||
Reference in New Issue
Block a user