The following is a non-exhaustive list of the environment variables that can be used to configure Moto.
Key | Value | Default | Explanation |
---|---|---|---|
TEST_SERVER_MODE | bool | False | Useful when you want to run decorated tests against an existing MotoServer. All boto3-clients/resources created within the test will point to http://localhost:5000. |
INITIAL_NO_AUTH_ACTION_COUNT | int | 0 | See iam access control . |
DEFAULT_CONTAINER_REGISTRY | str | docker.io | Registry that contains the Docker containers. Used by AWSLambda and Batch. |
MOTO_ALLOW_NONEXISTENT_REGION | bool | False | |
MOTO_S3_CUSTOM_ENDPOINTS | str | See s3 . |