60 lines
1.8 KiB
YAML
60 lines
1.8 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.vm-disk-options-example.google_compute_disk.disks["data2"]:
|
||
|
name: test-data2
|
||
|
project: project-id
|
||
|
size: 20
|
||
|
snapshot: snapshot-2
|
||
|
type: pd-ssd
|
||
|
zone: europe-west1-b
|
||
|
module.vm-disk-options-example.google_compute_instance.default[0]:
|
||
|
attached_disk:
|
||
|
- device_name: data2
|
||
|
disk_encryption_key_raw: null
|
||
|
mode: READ_ONLY
|
||
|
source: test-data2
|
||
|
- device_name: data1
|
||
|
disk_encryption_key_raw: null
|
||
|
mode: READ_WRITE
|
||
|
source: test-data1
|
||
|
boot_disk:
|
||
|
- auto_delete: true
|
||
|
disk_encryption_key_raw: null
|
||
|
initialize_params:
|
||
|
- image: projects/debian-cloud/global/images/family/debian-11
|
||
|
size: 10
|
||
|
type: pd-balanced
|
||
|
mode: READ_WRITE
|
||
|
description: Managed by the compute-vm Terraform module.
|
||
|
name: test
|
||
|
project: project-id
|
||
|
zone: europe-west1-b
|
||
|
module.vm-disk-options-example.google_compute_region_disk.disks["data1"]:
|
||
|
name: test-data1
|
||
|
project: project-id
|
||
|
region: europe-west1
|
||
|
replica_zones:
|
||
|
- europe-west1-b
|
||
|
- europe-west1-c
|
||
|
size: 10
|
||
|
type: pd-balanced
|
||
|
|
||
|
counts:
|
||
|
google_compute_disk: 1
|
||
|
google_compute_instance: 1
|
||
|
google_compute_region_disk: 1
|
||
|
google_service_account: 1
|