Enable creation of organization- and folder-level service agents (#3877)
* Enable creation of organization- and folder-level service agents * formatting * Add folder test * Add org tests * linting * more linting * Fix tests
This commit is contained in:
39
tests/modules/folder/examples/agents.yaml
Normal file
39
tests/modules/folder/examples/agents.yaml
Normal file
@@ -0,0 +1,39 @@
|
||||
# Copyright 2026 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.folder.google_folder.folder[0]:
|
||||
deletion_protection: false
|
||||
display_name: Folder name
|
||||
parent: folders/1122334455
|
||||
tags: null
|
||||
timeouts: null
|
||||
module.folder.google_folder_service_identity.default["osconfig"]:
|
||||
service: osconfig.googleapis.com
|
||||
timeouts: null
|
||||
module.folder.google_folder_service_identity.default["osconfig-rollout"]:
|
||||
service: osconfig.googleapis.com
|
||||
timeouts: null
|
||||
module.folder.google_folder_service_identity.default["pam"]:
|
||||
service: privilegedaccessmanager.googleapis.com
|
||||
timeouts: null
|
||||
module.folder.google_folder_service_identity.default["progrollout"]:
|
||||
service: progressiverollout.googleapis.com
|
||||
timeouts: null
|
||||
|
||||
counts:
|
||||
google_folder: 1
|
||||
google_folder_service_identity: 4
|
||||
modules: 1
|
||||
resources: 5
|
||||
36
tests/modules/organization/examples/agents.yaml
Normal file
36
tests/modules/organization/examples/agents.yaml
Normal file
@@ -0,0 +1,36 @@
|
||||
# Copyright 2026 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.org.google_organization_service_identity.default["osconfig"]:
|
||||
organization: '1122334455'
|
||||
service: osconfig.googleapis.com
|
||||
timeouts: null
|
||||
module.org.google_organization_service_identity.default["osconfig-rollout"]:
|
||||
organization: '1122334455'
|
||||
service: osconfig.googleapis.com
|
||||
timeouts: null
|
||||
module.org.google_organization_service_identity.default["pam"]:
|
||||
organization: '1122334455'
|
||||
service: privilegedaccessmanager.googleapis.com
|
||||
timeouts: null
|
||||
module.org.google_organization_service_identity.default["progrollout"]:
|
||||
organization: '1122334455'
|
||||
service: progressiverollout.googleapis.com
|
||||
timeouts: null
|
||||
|
||||
counts:
|
||||
google_organization_service_identity: 4
|
||||
modules: 1
|
||||
resources: 4
|
||||
Reference in New Issue
Block a user