library
turbot/aws
Get Involved
Version
Pipeline: Detach IAM Role Policy
Detaches a policy from an IAM role.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run aws.pipeline.detach_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.detach_iam_role_policy args = { role_name = <string> policy_arn = <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 IAM role from which the policy will be detached. | - |
policy_arn | string | Yes | The ARN of the IAM policy to be detached from the role. | - |
Outputs
Name | Description |
---|---|
result | Confirmation message that the policy has been detached from the role. |