# 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.cluster-1.google_container_cluster.cluster:
    notification_config:
    - pubsub:
      - enabled: true
        filter:
        - event_type:
          - SECURITY_BULLETIN_EVENT
          - UPGRADE_EVENT

  module.cluster-1.google_pubsub_topic.notifications[0]:
    effective_labels:
      content: gke-notifications
      goog-terraform-provisioned: 'true'
    ingestion_data_source_settings: []
    kms_key_name: projects/myproject/locations/global/keyRings/mykeyring/cryptoKeys/mykey
    labels:
      content: gke-notifications
    message_retention_duration: null
    message_transforms: []
    name: gke-pubsub-notifications
    project: project-id
    schema_settings: []
    tags: null
    terraform_labels:
      content: gke-notifications
      goog-terraform-provisioned: 'true'
    timeouts: null

counts:
  google_container_cluster: 1
  google_pubsub_topic: 1
  modules: 1
  resources: 2
