Difference between revisions of "Aws-ec2-describe-instances-all-regions"

From wikieduonline
Jump to navigation Jump to search
(Created page with " for region in `aws ec2 describe-regions --region us-east-1 --output text | cut -f4` do echo -e "\nListing Instances in region:'$region'..." aws ec2 describe-in...")
 
Line 1: Line 1:
  
  
  for region in `aws ec2 describe-regions --region us-east-1 --output text | cut -f4`
+
  for region in `[[aws ec2 describe-regions]] --region us-east-1 --output text | cut -f4`
 
  do
 
  do
 
       echo -e "\nListing Instances in region:'$region'..."
 
       echo -e "\nListing Instances in region:'$region'..."
 
       aws ec2 describe-instances --region $region
 
       aws ec2 describe-instances --region $region
 
  done
 
  done

Revision as of 18:11, 28 January 2022


for region in `aws ec2 describe-regions --region us-east-1 --output text | cut -f4`
do
     echo -e "\nListing Instances in region:'$region'..."
     aws ec2 describe-instances --region $region
done

Advertising: