library
turbot/aws
Get Involved
Version
Pipeline: List IAM Groups for User
Lists the IAM groups that the specified IAM user belongs to.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run aws.pipeline.list_iam_groups_for_user \ --arg 'user_name=<string>'Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = aws.pipeline.list_iam_groups_for_user args = { user_name = <string> }}Params
| Name | Type | Required | Description | Default |
|---|---|---|---|---|
| conn | connection.aws | Yes | Name of AWS connection to use. If not provided, the default AWS connection will be used. | connection.aws.default |
| user_name | string | Yes | The name of the user to list groups for. | - |
Outputs
| Name | Description |
|---|---|
| groups | A list of groups. |