# 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:
  google_storage_bucket.bucket[0]:
    autoclass: []
    cors: []
    custom_placement_config: []
    default_event_based_hold: null
    effective_labels:
      goog-terraform-provisioned: 'true'
    enable_object_retention: null
    encryption: []
    force_destroy: false
    hierarchical_namespace: []
    ip_filter: []
    labels: null
    lifecycle_rule: []
    location: EUROPE-WEST8
    logging: []
    name: mybucket
    project: myproject
    requester_pays: null
    retention_policy: []
    storage_class: STANDARD
    terraform_labels:
      goog-terraform-provisioned: 'true'
    timeouts: null
    uniform_bucket_level_access: true
  google_storage_bucket_iam_binding.authoritative["$custom_roles:myrole_four"]:
    bucket: mybucket
    condition: []
    members:
    - user:test-user2@example.com
    role: organizations/366118655033/roles/myRoleFour
  google_storage_bucket_iam_binding.authoritative["$custom_roles:myrole_one"]:
    bucket: mybucket
    condition: []
    members:
    - user:test-user@example.com
    role: organizations/366118655033/roles/myRoleOne
  google_storage_bucket_iam_binding.authoritative["$custom_roles:myrole_three"]:
    bucket: mybucket
    condition: []
    members:
    - user:test-user2@example.com
    role: organizations/366118655033/roles/myRoleThree
  google_storage_bucket_iam_binding.authoritative["roles/owner"]:
    bucket: mybucket
    condition: []
    members:
    - user:test-user2@example.com
    role: roles/owner
  google_storage_bucket_iam_binding.authoritative["roles/viewer"]:
    bucket: mybucket
    condition: []
    members:
    - serviceAccount:test@test-project.iam.gserviceaccount.com
    role: roles/viewer
  google_storage_bucket_iam_binding.bindings["myrole_two"]:
    bucket: mybucket
    condition:
    - description: null
      expression: resource.matchTag('1234567890/environment', 'development')
      title: Test
    members:
    - serviceAccount:test@test-project.iam.gserviceaccount.com
    role: organizations/366118655033/roles/myRoleTwo
  google_storage_bucket_iam_member.bindings["myrole_three"]:
    bucket: mybucket
    condition: []
    member: serviceAccount:test@test-project.iam.gserviceaccount.com
    role: organizations/366118655033/roles/myRoleThree
  google_storage_managed_folder.folder["folder1/"]:
    bucket: mybucket
    force_destroy: false
    name: folder1/
    timeouts: null
  google_storage_managed_folder_iam_binding.authoritative["folder1/$custom_roles:myrole_one"]:
    bucket: mybucket
    condition: []
    managed_folder: folder1/
    members:
    - user:test-user@example.com
    role: organizations/366118655033/roles/myRoleOne
  google_storage_managed_folder_iam_binding.authoritative["folder1/roles/viewer"]:
    bucket: mybucket
    condition: []
    managed_folder: folder1/
    members:
    - serviceAccount:test@test-project.iam.gserviceaccount.com
    role: roles/viewer
  google_storage_managed_folder_iam_binding.bindings["folder1/myrole_two"]:
    bucket: mybucket
    condition: []
    managed_folder: folder1/
    members:
    - serviceAccount:test@test-project.iam.gserviceaccount.com
    role: organizations/366118655033/roles/myRoleTwo
  google_storage_managed_folder_iam_member.members["folder1/myrole_three"]:
    bucket: mybucket
    condition: []
    managed_folder: folder1/
    member: serviceAccount:test@test-project.iam.gserviceaccount.com
    role: organizations/366118655033/roles/myRoleThree
  google_tags_location_tag_binding.binding["foo"]:
    location: europe-west8
    parent: //storage.googleapis.com/projects/_/buckets/mybucket
    tag_value: dev-test-00/dynamic_test/cc-123
    timeouts: null

counts:
  google_storage_bucket: 1
  google_storage_bucket_iam_binding: 6
  google_storage_bucket_iam_member: 1
  google_storage_managed_folder: 1
  google_storage_managed_folder_iam_binding: 3
  google_storage_managed_folder_iam_member: 1
  google_tags_location_tag_binding: 3
  modules: 0
  resources: 16

outputs:
  bucket: __missing__
  id: mybucket
  name: mybucket
  notification: null
  objects: {}
  topic: null
  url: __missing__
