A google_iam_organization_custom_roles is used to test a Google OrganizationCustomRole resource
describe google_iam_organization_custom_roles(org_id: '190694428152') do
its('names') { should include "organizations/123456/roles/role-id" }
end
Properties that can be accessed from the google_iam_organization_custom_roles resource:
See the google_iam_organization_custom_role resource for more information.
namesgoogle_iam_organization_custom_role nametitlesgoogle_iam_organization_custom_role titledescriptionsgoogle_iam_organization_custom_role descriptionincluded_permissionsgoogle_iam_organization_custom_role included_permissionsstagesgoogle_iam_organization_custom_role stagedeletedsgoogle_iam_organization_custom_role deletedThis resource supports all of the above properties as filter criteria, which can be used with where as a block or a method.
Ensure the Identity and Access Management (IAM) API is enabled for the current project.
© 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/