Override of reserved variable names in a Lambda function
Overriding environment variables that are reserved by AWS Lambda might lead to unexpected behavior or failure of the Lambda function.
def create_variable_noncompliant():
    import os
    # Noncompliant: overrides reserved environment variable names
    # in a Lambda function.
    os.environ['_HANDLER'] = "value"
def create_variable_compliant():
    import os
    # Compliant: prevents overriding reserved environment variable names
    # in a Lambda function.
    os.environ['SOME_ENV_VAR'] = "value"