Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 1.27 KB

google_project_iam_custom_roles.md

File metadata and controls

33 lines (26 loc) · 1.27 KB
title platform
About the google_project_iam_custom_roles resource
gcp

Syntax

A google_project_iam_custom_roles is used to test a Google CustomRole resource

Examples

describe google_project_iam_custom_roles(project: 'chef-gcp-inspec') do
  its('names') { should include "projects/project-id/roles/role-id" }
end

Properties

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 of google_project_iam_custom_role name
  • titles: an array of google_project_iam_custom_role title
  • descriptions: an array of google_project_iam_custom_role description
  • included_permissions: an array of google_project_iam_custom_role included_permissions
  • stages: an array of google_project_iam_custom_role stage
  • deleteds: an array of google_project_iam_custom_role deleted

Filter Criteria

This resource supports all of the above properties as filter criteria, which can be used with where as a block or a method.

GCP Permissions

Ensure the Identity and Access Management (IAM) API is enabled for the current project.