You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use your module but am having trouble using it inside my python script... I need to list all services for each of my aws accounts but I don't know how I can use this module to do so.. I understand that it says it creates a json of data when running query/commands in the terminal but I cannot find any json produced. Please help/redirect thank you!
The text was updated successfully, but these errors were encountered:
JohannesEbke
changed the title
question regarding my script
Using aws-list-all as a library
Nov 11, 2022
Currently, aws-list-all is a command line tool first, and a library second. However, I am open to pull requests that increase its utility in that respect!
If you want to use it from a script, you'd probably create and change to a new temporary directory yourself, and then call do_query from aws_list_all.query:
from aws_list_all.query import do_query
do_query(services=["ec2"], selected_regions=["us-east-1"])
This works for me, as in it drops a list of json files into the current directory.
Hi I am new as well, thank you for creating this!
I am trying to use your module but am having trouble using it inside my python script... I need to list all services for each of my aws accounts but I don't know how I can use this module to do so.. I understand that it says it creates a json of data when running query/commands in the terminal but I cannot find any json produced. Please help/redirect thank you!
The text was updated successfully, but these errors were encountered: