Files
hunfabric/tests/modules/cloud_run/examples/simple.yaml
Wiktor Niesiobędzki f7c9a341b0 yamlint tests/
2025-10-24 13:11:17 +02:00

103 lines
3.1 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.
# yamllint disable rule:line-length
values:
module.cloud_run.google_cloud_run_service.service:
autogenerate_revision_name: false
location: europe-west8
metadata:
- annotations: null
effective_labels:
goog-terraform-provisioned: 'true'
generation: 0
labels: null
terraform_labels:
goog-terraform-provisioned: 'true'
name: hello
project: project-id
template:
- metadata:
- {}
spec:
- containers:
- args: null
command: null
env:
- name: VAR1
value: VALUE1
value_from: []
- name: VAR2
value: VALUE2
value_from: []
env_from: []
image: us-docker.pkg.dev/cloudrun/container/hello
liveness_probe: []
volume_mounts: []
working_dir: null
node_selector: null
service_account_name: tf-cr-hello@project-id.iam.gserviceaccount.com
volumes: []
timeouts: null
module.cloud_run.google_cloud_run_service_iam_binding.binding["roles/run.invoker"]:
condition: []
location: europe-west8
members:
- allUsers
project: project-id
role: roles/run.invoker
service: hello
module.cloud_run.google_service_account.service_account[0]:
account_id: tf-cr-hello
create_ignore_already_exists: null
description: null
disabled: false
display_name: Terraform Cloud Run hello.
email: tf-cr-hello@project-id.iam.gserviceaccount.com
member: serviceAccount:tf-cr-hello@project-id.iam.gserviceaccount.com
project: project-id
timeouts: null
module.secret-manager.google_secret_manager_secret.default["credentials"]:
annotations: null
deletion_protection: false
effective_labels:
goog-terraform-provisioned: 'true'
labels: null
project: project-id
replication:
- auto:
- customer_managed_encryption: []
user_managed: []
rotation: []
secret_id: credentials
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["credentials.roles/secretmanager.secretAccessor"]
: condition: []
members:
- serviceAccount:tf-cr-hello@project-id.iam.gserviceaccount.com
role: roles/secretmanager.secretAccessor
counts:
google_cloud_run_service: 1
google_cloud_run_service_iam_binding: 1
google_secret_manager_secret: 1
google_secret_manager_secret_iam_binding: 1
google_service_account: 1