library
turbot/aws
OverviewPipelines
0
Triggers
0
Variables
GitHub

Put IAM Role Policy

Adds or updates an inline policy document that is embedded in the specified IAM role.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run aws.pipeline.put_iam_role_policy \
--arg 'policy_name=<string>' \
--arg 'policy_document=<string>' \
--arg 'role_name=<string>'

Use this pipeline

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

step "pipeline" "step_name" {
pipeline = aws.pipeline.put_iam_role_policy
args = {
policy_name = <string>
policy_document = <string>
role_name = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
policy_namestringYesThe name of the policy document.-
policy_documentstringYesThe policy document.-
credstringYesName for credentials to use. If not provided, the default credentials will be used.default
role_namestringYesThe name of the role to associate the policy with.-

Outputs

This pipeline has no outputs.