"""Config file for lambda function.""" from os import getenv # AWS region configuration AWS_REGION = getenv("AWS_REGION", "us-east-1") # Define the source address of emails sent EMAIL_FROM = getenv("EMAIL_FROM", "noreply.business.solutions@theorchard.com") # Define ARNs, required by AWS SES. See # https://boto3.amazonaws.com/v1/documentation/api/1.35.8/reference/services/ses # /client/send_raw_email.html _AWS_SES_DEFAULT_ARN = "arn:aws:ses:us-east-1:437795906767:identity/theorchard.com" AWS_SES_SOURCE_ARN = getenv("SES_SOURCE_ARN", _AWS_SES_DEFAULT_ARN) AWS_SES_FROM_ARN = getenv("SES_FROM_ARN", _AWS_SES_DEFAULT_ARN) AWS_SES_RETURN_PATH_ARN = getenv("SES_RETURN_PATH_ARN", _AWS_SES_DEFAULT_ARN) # Define an existing AWS S3 bucket where temporary objects # can be created and deleted during integration tests. # E.g. "test-bucket" # Note that there's no 100% guarantee that such objects will # be successfully cleaned up after testing. TEST_S3_BUCKET = getenv("TEST_S3_BUCKET", "qa-youtube-audit")