# 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.hub.google_gke_hub_feature.default["configmanagement"]:
    location: global
    name: configmanagement
    project: gkehub-test
  module.hub.google_gke_hub_feature_membership.default["cluster-1"]:
    configmanagement:
    - binauthz: []
      config_sync:
      - git:
        - gcp_service_account_email: null
          https_proxy: null
          policy_dir: configsync
          secret_type: none
          sync_branch: main
          sync_repo: https://github.com/danielmarzini/configsync-platform-example
          sync_rev: null
          sync_wait_secs: null
        oci: []
        prevent_drift: false
        source_format: hierarchy
      hierarchy_controller:
      - enable_hierarchical_resource_quota: true
        enable_pod_tree_labels: true
        enabled: true
      policy_controller:
      - audit_interval_seconds: '120'
        enabled: true
        exemptable_namespaces: []
        log_denies_enabled: true
        mutation_enabled: null
        referential_rules_enabled: true
        template_library_installed: true
      version: v1
    feature: configmanagement
    location: global
    membership: cluster-1
    mesh: []
    project: gkehub-test
  module.hub.google_gke_hub_membership.default["cluster-1"]:
    authority: []
    endpoint:
    - gke_cluster:
      - {}
    membership_id: cluster-1
    project: gkehub-test

counts:
  google_compute_network: 1
  google_compute_subnetwork: 1
  google_container_cluster: 1
  google_gke_hub_feature: 1
  google_gke_hub_feature_membership: 1
  google_gke_hub_membership: 1
  google_project: 1
  google_project_service: 7
  google_project_service_identity: 2
