sample
turbot/flowpipe-samples/deactivate-expired-aws-iam-access-keys

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

NameTypeRequiredDescriptionDefault
aws_conn
connection.aws
YesName for AWS connections to use. If not provided, the default connection will be used.connection.aws.default
slack_conn
connection.slack
YesName for Slack connections to use. If not provided, the default connection will be used.connection.slack.default
slack_channel
string
YesChannel, private group, or IM channel to send message to.-
expire_after_days
number
YesNumber of days after which the access key should be deactivated.90

Outputs

This pipeline has no outputs.

Tags

recommended = true