Skip to content

Instantly share code, notes, and snippets.

@wyllie
Created July 22, 2018 13:55
Show Gist options
  • Save wyllie/196927cccb0bfdf9c4ca359f3db2c501 to your computer and use it in GitHub Desktop.
Save wyllie/196927cccb0bfdf9c4ca359f3db2c501 to your computer and use it in GitHub Desktop.
Check status of lambda eni
#!/usr/bin/env sh
aws ec2 describe-network-interfaces --filters "Name=vpc-id,Values=vpc-53acd32a" \
| jq -r '.NetworkInterfaces[] | select(.Description | contains("Lambda")) | .RequesterId, .Attachment'
#.RequesterId, .Description, .Attachment.AttachTime'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment