Awscli List Tag Name With Ip Addr


Published:   November 26, 2021

Tags:
1
aws ec2 describe-instances --query 'Reservations[*].Instances[*].[NetworkInterfaces[0].PrivateIpAddresses[0].PrivateIpAddress,Tags[?Key==`Name`].Value| [0]]' --filters "Name=instance-state-name,Values=running" "Name=tag:environment,Values=production" --output text

Linked post:

Reference:


< Prev   Further Reading   Next >

For feedback mail me at: email@murarisumit.in