library
turbot/aws
OverviewPipelines
0
Triggers
0
Variables
GitHub

Attach IAM Role Policy

Attaches the specified managed policy to the specified IAM role. When you attach a managed policy to a role, the managed policy becomes part of the role's permission (access) policy.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run aws.pipeline.attach_iam_role_policy \
--arg 'role_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.pipeline.attach_iam_role_policy
args = {
role_name = <string>
policy_arn = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
credstringYesName for credentials to use. If not provided, the default credentials will be used.default
role_namestringYesThe name (friendly name, not ARN) of the role to attach the policy to.-
policy_arnstringYesThe Amazon Resource Name (ARN) of the IAM policy you want to attach.-

Outputs

This pipeline has no outputs.