Files
hunfabric/tests/modules/spanner_instance/examples/instance-with-autoscaling.yaml
Wiktor Niesiobędzki f7c9a341b0 yamlint tests/
2025-10-24 13:11:17 +02:00

43 lines
1.2 KiB
YAML

# Copyright 2023 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.spanner_instance.google_spanner_instance.spanner_instance[0]:
autoscaling_config:
- autoscaling_limits:
- max_nodes: null
max_processing_units: 3000
min_nodes: null
min_processing_units: 2000
autoscaling_targets:
- high_priority_cpu_utilization_percent: 75
storage_utilization_percent: 90
config: regional-us-central1
display_name: Regional instance
effective_labels:
foo: bar
force_destroy: false
labels:
foo: bar
name: my-instance
project: project-id
terraform_labels:
foo: bar
timeouts: null
counts:
google_spanner_instance: 1
modules: 1
resources: 1