Create branch-protection-rules test
This commit is contained in:
committed by
Wiktor Niesiobędzki
parent
024d73881f
commit
c8c934f64f
@@ -0,0 +1,59 @@
|
||||
# Copyright 2024 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.ssm_instance.google_secure_source_manager_branch_rule.branch_rules["my-repository.rule1"]:
|
||||
allow_stale_reviews: false
|
||||
branch_rule_id: rule1
|
||||
disabled: false
|
||||
include_pattern: main
|
||||
location: europe-west8
|
||||
minimum_approvals_count: 1
|
||||
minimum_reviews_count: 1
|
||||
project: project-id
|
||||
repository_id: my-repository
|
||||
require_comments_resolved: true
|
||||
require_linear_history: true
|
||||
require_pull_request: true
|
||||
timeouts: null
|
||||
module.ssm_instance.google_secure_source_manager_instance.instance[0]:
|
||||
deletion_policy: DELETE
|
||||
effective_labels:
|
||||
goog-terraform-provisioned: 'true'
|
||||
instance_id: my-instance
|
||||
kms_key: null
|
||||
labels: null
|
||||
location: europe-west8
|
||||
private_config:
|
||||
- ca_pool: projects/another-project/locations/europe-west8/caPools/my-ca-pool
|
||||
is_private: true
|
||||
project: project-id
|
||||
terraform_labels:
|
||||
goog-terraform-provisioned: 'true'
|
||||
timeouts: null
|
||||
workforce_identity_federation_config: []
|
||||
module.ssm_instance.google_secure_source_manager_repository.repositories["my-repository"]:
|
||||
description: null
|
||||
initial_config: []
|
||||
location: europe-west8
|
||||
project: project-id
|
||||
repository_id: my-repository
|
||||
timeouts: null
|
||||
|
||||
counts:
|
||||
google_secure_source_manager_branch_rule: 1
|
||||
google_secure_source_manager_instance: 1
|
||||
google_secure_source_manager_repository: 1
|
||||
modules: 1
|
||||
resources: 3
|
||||
Reference in New Issue
Block a user