standard
turbot/aws_compliance

Pipeline: Detach IAM user policy

Detaches the specified managed policy from the specified IAM user.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run aws_compliance.pipeline.detach_iam_users_with_iam_policy_attached \
--arg 'user_name=<string>' \
--arg 'policy_arn=<string>'

Use this pipeline

To call this pipeline from your pipeline, use a step:

step "pipeline" "step_name" {
pipeline = aws_compliance.pipeline.detach_iam_users_with_iam_policy_attached
args = {
user_name = <string>
policy_arn = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
conn
connection.aws
YesName of the AWS connection to be used for any authenticated actions.connection.aws.default
user_name
string
YesThe name of the IAM user.-
policy_arn
string
YesThe Amazon Resource Name (ARN) of the IAM policy you want to detach.-

Outputs

This pipeline has no outputs.

Tags

category = Compliance
folder = Internal
mod = aws
service = AWS/IAM