library
turbot/aws
OverviewPipelines
0
Triggers
0
Variables
GitHub

Pipeline: 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 'role_name=<string>' \
--arg 'policy_name=<string>' \
--arg 'policy_document=<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 = {
role_name = <string>
policy_name = <string>
policy_document = <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
role_name
string
YesThe name of the role to associate the policy with.-
policy_name
string
YesThe name of the policy document.-
policy_document
string
YesThe policy document.-

Outputs

This pipeline has no outputs.