AWS CLI get all instances with tag ENV: DEV for inventory

aws --profile aws-profile --region eu-west-1 ec2 describe-instances --filter "Name=tag:ENV,Values=DEV" --query 'Reservations[*].Instances[*].[PublicIpAddress]' --output text