# 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:
  google_compute_image.cos-gvnic:
    guest_os_features:
    - type: GVNIC
    - type: SEV_CAPABLE
    - type: UEFI_COMPATIBLE
    - type: VIRTIO_SCSI_MULTIQUEUE
    name: my-image
    project: project-id
    source_image: https://www.googleapis.com/compute/v1/projects/cos-cloud/global/images/cos-89-16108-534-18
  module.vm-with-gvnic.google_compute_instance.default[0]:
    name: test
    network_interface:
    - access_config: []
      alias_ip_range: []
      ipv6_access_config: []
      network: https://www.googleapis.com/compute/v1/projects/xxx/global/networks/aaa
      nic_type: GVNIC
      queue_count: null
      subnetwork: subnet_self_link
    project: project-id
    zone: europe-west8-b

counts:
  google_compute_image: 1
  google_compute_instance: 1
  google_service_account: 1
  modules: 1
  resources: 3
