Files
hunfabric/tests/modules/secret_manager/examples/context.yaml
Ludovico Magnocavallo 63a22cd9a2 Refactor secret manager module (#3315)
* wip

* wip

* wip

* wip

* tested, missing versions

* working

* fix secops stage

* readme

* tests

* tflint
2025-09-10 11:47:35 +00:00

55 lines
1.8 KiB
YAML

# 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:
module.secret-manager.google_secret_manager_secret.default["test-user-cmek"]:
annotations: null
deletion_protection: false
effective_labels:
goog-terraform-provisioned: 'true'
labels: null
project: foo-prod-test-0
replication:
- auto: []
user_managed:
- replicas:
- customer_managed_encryption:
- kms_key_name: projects/test-0/locations/europe-west1/keyRings/test-g/cryptoKeys/sec-ew1
location: europe-west1
- customer_managed_encryption:
- kms_key_name: projects/test-0/locations/europe-west3/keyRings/test-g/cryptoKeys/sec-ew3
location: europe-west3
rotation: []
secret_id: test-user-cmek
tags: null
terraform_labels:
goog-terraform-provisioned: 'true'
timeouts: null
topics: []
ttl: null
version_aliases: null
version_destroy_ttl: null
module.secret-manager.google_secret_manager_secret_iam_binding.authoritative["test-user-cmek.roles/secretmanager.viewer"]:
condition: []
members:
- serviceAccount:test@foo-prod-test-0.iam.gserviceaccount.com
- user:test@example.com
role: roles/secretmanager.viewer
counts:
google_secret_manager_secret: 1
google_secret_manager_secret_iam_binding: 1
modules: 1
resources: 2