tail-ses: Set AWS region based on S3_REGION value.

This commit is contained in:
Alex Vandiver 2023-02-02 18:47:55 +00:00 committed by Tim Abbott
parent b7335d0dec
commit 98711b0e45
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ class IdentityArgsDict(TypedDict, total=False):
def main() -> None: def main() -> None:
session = boto3.session.Session() session = boto3.session.Session(region_name=settings.S3_REGION)
from_address = settings.NOREPLY_EMAIL_ADDRESS from_address = settings.NOREPLY_EMAIL_ADDRESS
from_host = Address(addr_spec=from_address).domain from_host = Address(addr_spec=from_address).domain