library
turbot/aws
OverviewPipelines
0
Triggers
0
Variables
GitHub

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

NameTypeRequiredDescriptionDefault
credstringYesName for credentials to use. If not provided, the default credentials will be used.default
user_namestringYesThe name of the user to list groups for.-

Outputs

NameDescription
groupsA list of groups.