# 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.

# yamllint disable rule:line-length
values:
  module.bucket.google_storage_bucket.bucket[0]:
    cors: []
    custom_placement_config: []
    default_event_based_hold: null
    encryption: []
    force_destroy: false
    labels: null
    lifecycle_rule: []
    location: EU
    logging: []
    name: test-my-bucket
    project: project-id
    requester_pays: null
    retention_policy: []
    storage_class: STANDARD
    timeouts: null
    uniform_bucket_level_access: true
    autoclass: []
  module.bucket.google_storage_bucket_iam_member.bindings["storage-admin-with-delegated_roles"]:
    bucket: test-my-bucket
    condition:
    - description: null
      expression: api.getAttribute('iam.googleapis.com/modifiedGrantsByRole', []).hasOnly(['roles/storage.objectAdmin','roles/storage.objectViewer'])
      title: delegated-role-grants
    member: group:organization-admins@example.org
    role: roles/storage.admin

counts:
  google_storage_bucket: 1
  google_storage_bucket_iam_member: 1
  modules: 1
  resources: 2
