moving stuff around
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
'''
|
||||||
|
queries that interact with db can go here
|
||||||
|
'''
|
||||||
|
|
||||||
|
|
||||||
import sqlite3
|
import sqlite3
|
||||||
from sqlite3 import Error
|
from sqlite3 import Error
|
||||||
|
|
||||||
@@ -5,8 +10,7 @@ from libs.sql import *
|
|||||||
|
|
||||||
from config import AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY
|
from config import AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY
|
||||||
|
|
||||||
|
# for a key, what services does it have listed in the DB
|
||||||
#if __name__ == "__main__":
|
|
||||||
def step_show_services_by_key():
|
def step_show_services_by_key():
|
||||||
db_name = "weirdAAL.db"
|
db_name = "weirdAAL.db"
|
||||||
results = search_recon_by_key(db_name,AWS_ACCESS_KEY_ID)
|
results = search_recon_by_key(db_name,AWS_ACCESS_KEY_ID)
|
||||||
|
|||||||
12
modules/sts.py
Normal file
12
modules/sts.py
Normal 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)
|
||||||
Reference in New Issue
Block a user