Island: Add get_account_id() to aws_service

This commit is contained in:
Mike Salvatore 2022-05-02 09:20:41 -04:00
parent ae83c2e3e0
commit 56ea170808
1 changed files with 5 additions and 0 deletions

View File

@ -66,6 +66,11 @@ def get_region():
return aws_instance.region return aws_instance.region
@wait_init_done
def get_account_id():
return aws_instance.account_id
@wait_init_done @wait_init_done
def get_client(client_type): def get_client(client_type):
return boto3.client(client_type, region_name=aws_instance.region) return boto3.client(client_type, region_name=aws_instance.region)