Files
hunfabric/tests/modules/alloydb/examples/read_pool.yaml

95 lines
2.6 KiB
YAML

# Copyright 2024 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.alloydb.google_alloydb_cluster.primary:
annotations: null
cluster_id: db
cluster_type: PRIMARY
continuous_backup_config:
- enabled: true
encryption_config: []
recovery_window_days: 14
database_version: POSTGRES_15
deletion_policy: DEFAULT
display_name: db
encryption_config: []
etag: null
initial_user: []
labels: null
location: europe-west8
maintenance_update_policy: []
network_config:
- allocated_ip_range: null
network: projects/xxx/global/networks/aaa
project: project-id
psc_config: []
restore_backup_source: []
restore_continuous_backup_source: []
secondary_config: []
skip_await_major_version_upgrade: true
subscription_type: STANDARD
timeouts: null
module.alloydb.google_alloydb_instance.primary:
annotations: null
availability_type: REGIONAL
display_name: db
gce_zone: null
instance_id: db
instance_type: PRIMARY
labels: null
machine_config:
- cpu_count: 2
query_insights_config:
- query_plans_per_minute: 5
query_string_length: 1024
record_application_tags: true
record_client_address: true
read_pool_config: []
timeouts: null
module.alloydb.google_alloydb_instance.read_pool_primary["regional-read-pool"]:
annotations: null
display_name: regional-read-pool
gce_zone: null
instance_id: regional-read-pool
instance_type: READ_POOL
labels: null
machine_config:
- cpu_count: 2
read_pool_config:
- node_count: 2
timeouts: null
module.alloydb.google_alloydb_instance.read_pool_primary["zonal-read-pool"]:
annotations: null
display_name: zonal-read-pool
effective_labels:
goog-terraform-provisioned: 'true'
gce_zone: null
instance_id: zonal-read-pool
instance_type: READ_POOL
labels: null
machine_config:
- cpu_count: 2
read_pool_config:
- node_count: 1
timeouts: null
counts:
google_alloydb_cluster: 1
google_alloydb_instance: 3
modules: 1
resources: 4
outputs: {}