Open
Description
I've configured multiple AWS credential profiles on my system and usually select the right one via named profiles or environment variables such das export AWS_DEFAULT_PROFILE=foo
.
However, my created User
Model will be fetched from my default configuration.
Model definition:
class AWSUser(Model):
class Meta:
table_name = 'Users'
region = 'eu-central-1'
id = UnicodeAttribute(hash_key=True)
display_name = UnicodeAttribute(attr_name='displayName')
# ...
def __str__(self):
return self.display_name
How can I select the correct AWS profile?