Ресурс 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)» по адресу https://console.cloud.google.com/apis/library/iam.googleapis.com/.
© 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/