Refactor vpc-sc support in project module, add support for dry run (#2229)
This commit is contained in:
committed by
GitHub
parent
0454fd681d
commit
309792c559
33
tests/modules/project/examples/vpc-sc-2.yaml
Normal file
33
tests/modules/project/examples/vpc-sc-2.yaml
Normal file
@@ -0,0 +1,33 @@
|
||||
# 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.project.google_access_context_manager_service_perimeter_dry_run_resource.default["accessPolicies/1234567890/servicePerimeters/b1"]
|
||||
: perimeter_name: accessPolicies/1234567890/servicePerimeters/b1
|
||||
timeouts: null
|
||||
? module.project.google_access_context_manager_service_perimeter_dry_run_resource.default["accessPolicies/1234567890/servicePerimeters/b2"]
|
||||
: perimeter_name: accessPolicies/1234567890/servicePerimeters/b2
|
||||
timeouts: null
|
||||
? module.project.google_access_context_manager_service_perimeter_dry_run_resource.default["accessPolicies/1234567890/servicePerimeters/default"]
|
||||
: perimeter_name: accessPolicies/1234567890/servicePerimeters/default
|
||||
timeouts: null
|
||||
|
||||
counts:
|
||||
google_access_context_manager_service_perimeter_dry_run_resource: 3
|
||||
google_project: 1
|
||||
google_project_service: 2
|
||||
modules: 1
|
||||
resources: 6
|
||||
|
||||
outputs: {}
|
||||
27
tests/modules/project/examples/vpc-sc.yaml
Normal file
27
tests/modules/project/examples/vpc-sc.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
# 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.project.google_access_context_manager_service_perimeter_resource.default["accessPolicies/1234567890/servicePerimeters/default"]
|
||||
: perimeter_name: accessPolicies/1234567890/servicePerimeters/default
|
||||
timeouts: null
|
||||
|
||||
counts:
|
||||
google_access_context_manager_service_perimeter_resource: 1
|
||||
google_project: 1
|
||||
google_project_service: 2
|
||||
modules: 1
|
||||
resources: 4
|
||||
|
||||
outputs: {}
|
||||
Reference in New Issue
Block a user