forked from p15670423/monkey
Island: Add get_account_id() to aws_service
This commit is contained in:
parent
ae83c2e3e0
commit
56ea170808
|
@ -66,6 +66,11 @@ def get_region():
|
|||
return aws_instance.region
|
||||
|
||||
|
||||
@wait_init_done
|
||||
def get_account_id():
|
||||
return aws_instance.account_id
|
||||
|
||||
|
||||
@wait_init_done
|
||||
def get_client(client_type):
|
||||
return boto3.client(client_type, region_name=aws_instance.region)
|
||||
|
|
Loading…
Reference in New Issue