Ресурс google_iam_organization_custom_roles
Синтаксис
Используется google_iam_organization_custom_roles, чтобы проверить ресурс Google OrganizationCustomRole.
Примеры
describe google_iam_organization_custom_roles(org_id: '190694428152') do
its('names') { should include "organizations/123456/roles/role-id" }
end
Свойства
Свойства, доступные для ресурса google_iam_organization_custom_roles:
Для получения дополнительной информации см. ресурс google_iam_organization_custom_role.
names- массив
google_iam_organization_custom_roleимён titles- массив
google_iam_organization_custom_roleзаголовков descriptions- массив
google_iam_organization_custom_roleописаний included_permissions- массив
google_iam_organization_custom_roleвключённых разрешений stages- массив
google_iam_organization_custom_roleстадий deleteds- массив
google_iam_organization_custom_roleзначений удаления
Критерии фильтрации
Данный ресурс поддерживает все вышеперечисленные свойства в качестве критериев фильтрации, которые могут быть использованы с where в виде блока или метода.
Разрешения GCP
Убедитесь, что API управления идентификацией и доступом (IAM) Google Cloud Platform включён для текущего проекта.
© Chef Software, Inc.
Licensed under the Creative Commons Attribution 3.0 Unported License.
The Chef™ Mark and Chef Logo are either registered trademarks/service marks or trademarks/servicemarks of Chef, in the United States and other countries and are used with Chef Inc's permission.
We are not affiliated with, endorsed or sponsored by Chef Inc.
https://docs.chef.io/inspec/resources/google_iam_organization_custom_roles/