Skip to content

Instantly share code, notes, and snippets.

@tecmaverick
Created August 30, 2018 07:48
Show Gist options
  • Save tecmaverick/38d6413097b26edeec1f3fbee6a44a81 to your computer and use it in GitHub Desktop.
Save tecmaverick/38d6413097b26edeec1f3fbee6a44a81 to your computer and use it in GitHub Desktop.
View details (FunctionArn, Memory, Runtime and Timeout) of lambda functions across all regions
aws ec2 describe-regions \
--query 'Regions[?RegionName!=`ap-northeast-3`].[RegionName]' \
--output text | \
xargs -I {} \
aws lambda list-functions \
--query "Functions[].[{FunctionArn:FunctionArn,MemorySize:MemorySize,Runtime:Runtime,Timeout:Timeout}]" \
--output table --region {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment