# Copyright 2024 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.iam-service-account.google_project_iam_member.project_roles["project-id-roles/bigquery.dataEditor"]:
    project: project-id
    role: roles/bigquery.dataEditor
  module.iam-service-account.google_service_account.service_account[0]:
    account_id: fixture-service-account
    project: project-id
  module.pubsub.google_pubsub_subscription.default["test-bigquery-with-service-account"]:
    bigquery_config:
    - drop_unknown_fields: false
      service_account_email: fixture-service-account@project-id.iam.gserviceaccount.com
      table: project-id:my_dataset.my_table
      use_table_schema: true
      use_topic_schema: false
      write_metadata: false
    cloud_storage_config: []
    dead_letter_policy: []
    enable_exactly_once_delivery: false
    enable_message_ordering: false
    filter: null
    labels: null
    message_retention_duration: 604800s
    name: test-bigquery-with-service-account
    project: project-id
    push_config: []
    retain_acked_messages: false
    retry_policy: []
  module.pubsub.google_pubsub_topic.default:
    ingestion_data_source_settings: []
    kms_key_name: null
    labels: null
    message_retention_duration: null
    name: my-topic
    project: project-id
    schema_settings: []

counts:
  google_project_iam_member: 1
  google_pubsub_subscription: 1
  google_pubsub_topic: 1
  google_service_account: 1
  modules: 3
