sample
turbot/flowpipe-samples/deactivate-expired-aws-iam-access-keys
Get Involved
Version
Pipeline: Deactivate expired AWS IAM access keys
Deactivates expired AWS IAM access keys and notifies via Slack channel.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run deactivate_expired_aws_iam_access_keys.pipeline.deactivate_expired_aws_iam_access_keys \ --arg 'slack_channel=<string>'
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = deactivate_expired_aws_iam_access_keys.pipeline.deactivate_expired_aws_iam_access_keys args = { slack_channel = <string> }}
Params
Name | Type | Required | Description | Default |
---|---|---|---|---|
aws_conn | connection.aws | Yes | Name for AWS connections to use. If not provided, the default connection will be used. | connection.aws.default |
slack_conn | connection.slack | Yes | Name for Slack connections to use. If not provided, the default connection will be used. | connection.slack.default |
slack_channel | string | Yes | Channel, private group, or IM channel to send message to. | - |
expire_after_days | number | Yes | Number of days after which the access key should be deactivated. | 90 |
Outputs
This pipeline has no outputs.
Tags
recommended = true