Polling EKS inventory across an AWS Organization

This workflow demonstrates polling of EKS Inventory across an AWS Organization

The Step Functions workflow is initiated by any input or schedule, executing organizations:ListAccounts to create an account inventory. The Distributed Map processes each account with a Python Lambda function to gather the EC2 region, cluster details, and versions, writing the inventory to S3 using a ResultWriter. The workflow has loose concurrency control with MaxConcurrency of 10 and can be reused for other services and tasks with Step Functions.

< Back to all workflows

GitHub icon View this workflow on GitHub


Clone repo

git clone https://github.com/aws-samples/step-functions-workflows-collection/tree/main/sfn-eks-inventory/cd step-functions-workflows-collection/sfn-eks-inventory

Deploy

cdk deploy


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

1. Delete the stack: cdk delete.

Additional resources

Created by:

Darius Seroka

Darius Seroka

Technical Account Manager at AWS