We're trying to send email using Amazon SES using boto3.client in python. We've added SES Full access in clusters IAM Role.
We were able to send email in "No isolation shared" mode in DBR 11.2 using
ses = boto3.client('ses', region_name='us-****-2')
ses.send_raw_email(
Source=msg['FROM'],
Destinations=to_emails,
RawMessage={'Data': msg.as_string()})
But we're getting "Unable to locate credentials"
Is this expected result in shared mode ? Do we need to add access key & secret key in order to send email in Shared mode ?