library
turbot/aws
OverviewPipelines
0
Triggers
0
Variables
GitHub

Create IAM Role

Creates a new role for your Amazon Web Services account.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run aws.pipeline.create_iam_role \
--arg 'role_name=<string>' \
--arg 'assume_role_policy_document=<string>'

Use this pipeline

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

step "pipeline" "step_name" {
pipeline = aws.pipeline.create_iam_role
args = {
role_name = <string>
assume_role_policy_document = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
role_namestringYesThe name of the role to create. Must be unique within the account.-
assume_role_policy_documentstringYesThe trust relationship policy document that grants an entity permission to assume the role. A JSON policy that has been converted to a string.-
credstringYesName for credentials to use. If not provided, the default credentials will be used.default

Outputs

NameDescription
roleA structure containing details about the new role.