Documentation
¶
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{} // 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.
```hcl
data "google_iam_role" "roleinfo" { name = "roles/compute.viewer" }
output "the_role_permissions" { value = "${data.google_iam_role.roleinfo.included_permissions}" }
```
Click to show internal directories.
Click to hide internal directories.