Last active
November 9, 2023 20:57
-
-
Save lbbedendo/cb42a77d7e9563a7ca6a0ba10b3fd4f7 to your computer and use it in GitHub Desktop.
awcli describe network interfaces
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--list private ip addresses from the specified <subnet-id> | |
aws ec2 describe-network-interfaces --filters Name=subnet-id,Values=<subnet-id> | jq -r '.NetworkInterfaces[].PrivateIpAddress' | sort | |
--list dependencies of a security group | |
aws ec2 describe-network-interfaces --filters Name=group-id,Values=<security-group-id> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment