UPD: removing deleted file and pushing changed aws/aws-inventory2.sh
This commit is contained in:
parent
8724288247
commit
6ea0be7698
|
@ -2,9 +2,9 @@
|
|||
|
||||
|
||||
function list-resources-in-region {
|
||||
echo "---"
|
||||
echo "# Region: $1"
|
||||
echo "---"
|
||||
echo "***"
|
||||
echo -e "Region: $1"
|
||||
echo "***"
|
||||
echo -e "\n## EC2:"
|
||||
aws --region=$1 ec2 describe-instances --query 'Reservations[*].Instances[*].[InstanceId, Tags[?Key==`Name`].Value[] | [0], PlatformDetails, InstanceType,PrivateIpAddress]' --output json | jq -cr '.[][] | @tsv' | tr -d '[\" '
|
||||
|
||||
|
|
Loading…
Reference in New Issue