Documentation
¶
Overview ¶
nolint: lll Package iam exports types, functions, subpackages for provisioning iam resources.
> This provider is a derived work of the [Terraform Provider](https://github.com/terraform-providers/terraform-provider-google) > distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature, > first check the [`pulumi/pulumi-gcp` repo](https://github.com/pulumi/pulumi-gcp/issues); however, if that doesn't turn up anything, > please consult the source [`terraform-providers/terraform-provider-google` repo](https://github.com/terraform-providers/terraform-provider-google/issues).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetRuleArgs ¶
type GetRuleArgs struct {
// 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}`
Name interface{}
}
A collection of arguments for invoking getRule.
type GetRuleResult ¶
type GetRuleResult struct { // specifies the list of one or more permissions to include in the custom role, such as - `iam.roles.get` IncludedPermissions interface{} Name interface{} // indicates the stage of a role in the launch lifecycle, such as `GA`, `BETA` or `ALPHA`. Stage interface{} // is a friendly title for the role, such as "Role Viewer" Title interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getRule.
func LookupRule ¶
func LookupRule(ctx *pulumi.Context, args *GetRuleArgs) (*GetRuleResult, error)
Use this data source to get information about a Google IAM Role.
> This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/d/iam_role.html.markdown.