update and refactor artifact registry module (#1536)
This commit is contained in:
committed by
GitHub
parent
960c84b347
commit
5a534edf5c
57
tests/modules/artifact_registry/examples/remote-virtual.yaml
Normal file
57
tests/modules/artifact_registry/examples/remote-virtual.yaml
Normal file
@@ -0,0 +1,57 @@
|
||||
# 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.registry-local.google_artifact_registry_repository.registry:
|
||||
description: Terraform-managed registry
|
||||
format: PYTHON
|
||||
location: europe-west1
|
||||
mode: STANDARD_REPOSITORY
|
||||
project: project-id
|
||||
repository_id: local
|
||||
virtual_repository_config: []
|
||||
module.registry-remote.google_artifact_registry_repository.registry:
|
||||
description: Terraform-managed registry
|
||||
format: PYTHON
|
||||
location: europe-west1
|
||||
mode: REMOTE_REPOSITORY
|
||||
project: project-id
|
||||
remote_repository_config:
|
||||
- description: null
|
||||
docker_repository: []
|
||||
maven_repository: []
|
||||
npm_repository: []
|
||||
python_repository:
|
||||
- public_repository: PYPI
|
||||
repository_id: remote
|
||||
virtual_repository_config: []
|
||||
module.registry-virtual.google_artifact_registry_repository.registry:
|
||||
description: Terraform-managed registry
|
||||
format: PYTHON
|
||||
location: europe-west1
|
||||
mode: VIRTUAL_REPOSITORY
|
||||
project: project-id
|
||||
remote_repository_config: []
|
||||
repository_id: virtual
|
||||
virtual_repository_config:
|
||||
- upstream_policies:
|
||||
- id: local
|
||||
priority: 10
|
||||
- id: remote
|
||||
priority: 1
|
||||
|
||||
counts:
|
||||
google_artifact_registry_repository: 3
|
||||
modules: 3
|
||||
resources: 3
|
||||
Reference in New Issue
Block a user