Skip to content
This repository was archived by the owner on Jun 13, 2023. It is now read-only.

Commit 76282cc

Browse files
authored
Add aws account to the Lambda runner event (#8)
* fix(lambda_runner): Adding aws account id in Lambda runner event. * fix(setup): Removing unnecessary supported python version.
1 parent 6475ee1 commit 76282cc

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

epsagon/runners/aws_lambda.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ def __init__(self, start_time, context):
3333
'log_group_name': context.log_group_name,
3434
'function_version': context.function_version,
3535
'memory': context.memory_limit_in_mb,
36+
'aws_account': context.invoked_function_arn.split(':')[4],
3637
'cold_start': constants.COLD_START,
3738
'region': os.environ.get('AWS_REGION', ''),
3839
}

setup.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,6 @@
4848
'Operating System :: OS Independent',
4949
'Programming Language :: Python',
5050
'Programming Language :: Python :: 2.7',
51-
'Programming Language :: Python :: 3',
52-
'Programming Language :: Python :: 3.4',
53-
'Programming Language :: Python :: 3.5',
5451
'Programming Language :: Python :: 3.6',
5552
'Topic :: Software Development :: Libraries',
5653
'Topic :: Software Development :: Libraries :: Python Modules',

0 commit comments

Comments
 (0)