library
turbot/aws
OverviewPipelines
0
Triggers
0
Variables
GitHub

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

NameTypeRequiredDescriptionDefault
conn
connection.aws
YesName of AWS connection to use. If not provided, the default AWS connection will be used.connection.aws.default
user_name
string
YesThe name of the user to list groups for.-

Outputs

NameDescription
groupsA list of groups.