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

102 lines
2.7 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: primary
cluster_type: PRIMARY
continuous_backup_config:
- enabled: true
encryption_config: []
recovery_window_days: 14
database_version: POSTGRES_15
deletion_policy: DEFAULT
display_name: primary
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
database_flags:
alloydb.enable_pgaudit: 'on'
alloydb.iam_authentication: 'on'
idle_in_transaction_session_timeout: '900000'
timezone: '''UTC'''
display_name: primary
gce_zone: null
instance_id: primary
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_user.users["user1"]:
database_roles:
- alloydbsuperuser
timeouts: null
user_id: user1
user_type: ALLOYDB_BUILT_IN
module.alloydb.google_alloydb_user.users["user2"]:
database_roles:
- alloydbsuperuser
password: mypassword
timeouts: null
user_id: user2
user_type: ALLOYDB_BUILT_IN
module.alloydb.random_password.passwords["user1"]:
keepers: null
length: 16
lower: true
min_lower: 0
min_numeric: 0
min_special: 0
min_upper: 0
number: true
numeric: true
override_special: null
special: true
upper: true
counts:
google_alloydb_cluster: 1
google_alloydb_instance: 1
google_alloydb_user: 2
modules: 1
random_password: 1
resources: 5
outputs: {}