title | platform |
---|---|
About the google_project_iam_custom_roles resource |
gcp |
A google_project_iam_custom_roles
is used to test a Google CustomRole resource
describe google_project_iam_custom_roles(project: 'chef-gcp-inspec') do
its('names') { should include "projects/project-id/roles/role-id" }
end
Properties that can be accessed from the google_project_iam_custom_roles
resource:
See google_project_iam_custom_role.md for more detailed information
names
: an array ofgoogle_project_iam_custom_role
nametitles
: an array ofgoogle_project_iam_custom_role
titledescriptions
: an array ofgoogle_project_iam_custom_role
descriptionincluded_permissions
: an array ofgoogle_project_iam_custom_role
included_permissionsstages
: an array ofgoogle_project_iam_custom_role
stagedeleteds
: an array ofgoogle_project_iam_custom_role
deleted
This 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.