library
turbot/aws
Get Involved
Version
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
Name | Type | Required | Description | Default |
---|---|---|---|---|
conn | connection.aws | Yes | Name of AWS connection to use. If not provided, the default AWS connection will be used. | connection.aws.default |
role_name | string | Yes | The name of the role to associate the policy with. | - |
policy_name | string | Yes | The name of the policy document. | - |
policy_document | string | Yes | The policy document. | - |
Outputs
This pipeline has no outputs.