This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the pulumi/pulumi-gcp repo; however, if that doesn’t turn up anything, please consult the source terraform-providers/terraform-provider-google repo.

class pulumi_gcp.iam.AwaitableGetRuleResult(included_permissions=None, name=None, stage=None, title=None, id=None)
class pulumi_gcp.iam.GetRuleResult(included_permissions=None, name=None, stage=None, title=None, id=None)

A collection of values returned by getRule.

included_permissions = None

specifies the list of one or more permissions to include in the custom role, such as - iam.roles.get

stage = None

indicates the stage of a role in the launch lifecycle, such as GA, BETA or ALPHA.

title = None

is a friendly title for the role, such as “Role Viewer”

id = None

id is the provider-assigned unique ID for this managed resource.

pulumi_gcp.iam.get_rule(name=None, opts=None)

Use this data source to get information about a Google IAM Role.


name (str) – The name of the Role to lookup in the form roles/{ROLE_NAME}, organizations/{ORGANIZATION_ID}/roles/{ROLE_NAME} or projects/{PROJECT_ID}/roles/{ROLE_NAME}