# Copyright 2025 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.cf_http.google_cloudfunctions2_function.function:
    service_config:
    - all_traffic_on_latest_revision: true
      available_cpu: '0.166'
      available_memory: 256M
      binary_authorization_policy: null
      direct_vpc_egress: VPC_EGRESS_ALL_TRAFFIC
      direct_vpc_network_interface:
      - network: projects/xxx/global/networks/aaa
        subnetwork: projects/my-project/regions/subnet_region/subnetworks/subnet_name
        tags:
        - tag1
        - tag2

counts:
  google_cloudfunctions2_function: 1
  google_project_iam_member: 2
  google_service_account: 1
  google_storage_bucket_object: 1
  modules: 1
  resources: 5
