# 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.secret-manager.google_secret_manager_secret.default["test-auto"]:
    project: my-project
    replication:
    - automatic: true
      user_managed: []
    secret_id: test-auto
  module.secret-manager.google_secret_manager_secret.default["test-manual"]:
    project: my-project
    replication:
    - automatic: null
      user_managed:
      - replicas:
        - customer_managed_encryption: []
          location: europe-west1
        - customer_managed_encryption: []
          location: europe-west4
    secret_id: test-manual
  module.secret-manager.google_secret_manager_secret_iam_binding.default["test-auto.roles/secretmanager.secretAccessor"]:
    condition: []
    members:
    - group:auto-readers@example.com
    role: roles/secretmanager.secretAccessor
  module.secret-manager.google_secret_manager_secret_iam_binding.default["test-manual.roles/secretmanager.secretAccessor"]:
    condition: []
    members:
    - group:manual-readers@example.com
    role: roles/secretmanager.secretAccessor

counts:
  google_secret_manager_secret: 2
  google_secret_manager_secret_iam_binding: 2
