runwhen-contrib / runwhen-local

RunWhen Local provides a tailored troubleshooting cheat sheet for Kubernetes environments
https://docs.runwhen.com/public/v/runwhen-local/
Apache License 2.0
159 stars 8 forks source link

Support for assuming roles in the AWS indexer for the workspace builder #488

Closed vaterlaus closed 1 month ago

vaterlaus commented 5 months ago

The idea is that the user should be able to specify an AWS role ARN in the workspace info that is the role that will be assumed before invoking CloudQuery to scan for resources. So there just needs to be some boto3 code in the AWS-specific code that calls assume_role and then updates the cloud config data with the new assumed role temporary credentials.