moving stuff around

This commit is contained in:
carnal0wnage
2018-04-07 14:06:31 -04:00
parent f2d3f385d4
commit e9acbdecd3
2 changed files with 18 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
'''
queries that interact with db can go here
'''
import sqlite3
from sqlite3 import Error
@@ -5,8 +10,7 @@ from libs.sql import *
from config import AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY
#if __name__ == "__main__":
# for a key, what services does it have listed in the DB
def step_show_services_by_key():
db_name = "weirdAAL.db"
results = search_recon_by_key(db_name,AWS_ACCESS_KEY_ID)

12
modules/sts.py Normal file
View File

@@ -0,0 +1,12 @@
'''
This file is used to perform some EMR actions
'''
from libs.sts import *
from config import AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY
def step_sts_get_accountid():
get_accountid(AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY)
def step_sts_get_accountidall():
get_accountid_all(AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY)