Traceback (most recent call last):


 "/home/ec2-user/.local/lib/python3.6/site-packages/botocore/credentials.py", line 909, in _get_role_config_values

source_profile = profiles[self._profile_name]['source_profile']
KeyError: 'source_profile'

[2020-04-22 21:20:27] [Error]
Traceback (most recent call last):


 "pkLottery.py", line 64, in run


 "pkLottery.py", line 26, in pk_lottery
KeyError: 0
