Mike Grima
76aaa2df0f
Merge pull request #2595 from bblommers/feature/2317
...
Add CF update/delete methods for Lambda
2019-12-09 14:04:49 -08:00
Bert Blommers
791c25b51c
#2317 - Add CF Update/Delete methods for Lambda
2019-11-24 14:54:38 +00:00
Bert Blommers
0ea98f22ee
Merge branch 'master' into feature/2546
2019-11-19 08:00:59 +00:00
Mike Grima
27f36a7514
Fixed the Lambda invocation due to lambci changes.
...
It looks like lambci is pre-pending the "lambda" responses with an
escape character `\033`. This was breaking the unit tests.
2019-11-17 18:40:15 -08:00
Bert Blommers
c6dd3c96ea
AWSLambda - refactor exception handling
2019-11-17 10:59:20 +00:00
Bert Blommers
42311c40ad
Add/improve Lambda coverage - no functionality changes
2019-11-15 16:34:14 +00:00
Bert Blommers
40aa73a12b
#2546 - AWS Lambda: Add Role validation when creating functions
2019-11-07 17:11:13 +00:00
Ian Yon
9e2b47e82b
Applied black formatter
2019-11-04 12:22:03 -03:00
Ian Yon
577419798d
Merge from master to current branch
2019-11-04 12:14:43 -03:00
Ian Yon
90a9235f4c
Allow lambda get function by arn and addded environment configuration
2019-11-04 10:44:01 -03:00
Asher Foa
96e5b1993d
Run black on moto & test directories.
2019-10-31 10:36:05 -07:00
Bert Blommers
ce4bd5d64c
AWS Lambda - Allow function deletions by ARN
2019-10-22 09:31:37 +01:00
Steve Pulec
31198c75b8
Merge pull request #2457 from bblommers/feature/dynamodb_streams_invoke_lambda
...
Feature: Add option for DynamoDB stream to kick off lambda
2019-10-10 17:05:43 -05:00
Steve Pulec
359d6c9099
Merge pull request #2464 from sethblack/lambda-update-function-code-and-configuration
...
added UpdateFunctionCode and UpdateFunctionConfiguration and associat…
2019-10-10 17:01:31 -05:00
Bert Blommers
ed6d780dab
Remove dead code
2019-10-10 09:14:22 +01:00
Seth Black
dff24cb032
bringing up test percentage
2019-10-09 16:20:53 -05:00
Seth Black
20dc8ae5c4
getting tests working in server mode
2019-10-09 15:15:10 -05:00
Seth Black
41af98c98b
added UpdateFunctionCode and UpdateFunctionConfiguration and associated test cases
2019-10-08 15:59:03 -05:00
Bert Blommers
2d11e8feb4
Code improvements
2019-10-08 14:11:21 +01:00
Bert Blommers
91b13f998f
Feature: Add option for DynamoDB stream to kick off lambda
2019-10-07 11:11:22 +01:00
Randy Westergren
1efd9ee58d
Raise exception on invalid event source type and use full spec
2019-08-22 19:28:11 -04:00
Randy Westergren
819dcfee24
Fix indent
2019-08-21 18:00:46 -04:00
Randy Westergren
210b8b24eb
Map service BatchSize defaults/maxes
2019-08-21 17:45:37 -04:00
Randy Westergren
ccceb70397
And event source mapping endpoints and SQS trigger support
2019-08-20 21:54:57 -04:00
Steve Pulec
8d06e6e93d
Merge branch 'master' into set-lambda-function-physical-resource-id
2019-07-07 23:00:26 -05:00
Terry Cain
a6d9cadac3
Change docker library version check ( #2214 )
2019-05-22 22:01:28 +01:00
cm-iwata
8f4c273095
fix #2190 ( #2194 )
...
lambda list_versions_by_function return $LATEST version and published version
2019-05-21 17:49:56 +01:00
William Richard
e01d91b2d6
Set the physical resource ID property for the lambda model
2019-04-15 23:07:14 -04:00
William Rubel
4c6f08d463
Update kms and lambda to work with terraform
2019-02-16 09:27:23 -06:00
Jacob Grismo
7b008ded3e
adds Environment to the Lambda cfm optional keys
...
Adds Environment to the list of keys that can be included in Lambda cloudformation functions.
2018-12-28 23:05:25 -05:00
Steve Pulec
1689a2808f
Fix creating SQS queue with same attributes. Closes #1663 .
2018-05-31 23:05:50 -04:00
Steve Pulec
cf71532fa9
Fix for backwards compat with dockerpy 2.
2018-05-31 22:39:22 -04:00
Steve Pulec
e3ff6601bf
Merge pull request #1643 from alanjds/patch-1
...
LambdaVersion providing ARN on __repr__
2018-05-29 22:40:00 -04:00
Alan Justino da Silva
d4cc7f1399
LambdaVersion providing ARN on __repr__
...
Just a dirty patch
2018-05-15 15:13:01 -03:00
djkiourtsis
5d6655a7ee
Add gocloud backend to lambda backends
...
Boto does does not include the govcloud backends when displaying lambda
regions. In order to test lambda with a govcloud region, the region
must be explicitly added.
2018-05-03 11:42:52 -04:00
Alexander Mohr
941d817da4
fix lambda endpoint parsing ( #1395 )
...
* fix endpoint parsing
* add new unittest
* finish test
2018-03-21 22:14:10 -07:00
Loukas Leontopoulos
3d7f584f64
Change lambda backend to support docker changes
2018-02-19 17:28:35 +02:00
Alexander Mohr
9d087b0729
add subject support ( #1387 )
2017-12-10 21:59:04 +00:00
Chris Tomlinson
279efc6b12
Bump flake8 version and handle new lint errors ( #1385 )
2017-12-08 21:02:34 +00:00
Terry Cain
d5ee48eedd
Lambda improvements ( #1344 )
...
* Revamped the lambda function storage to do versioning.
* Flake8
* .
* Fixes
* Swapped around an if
2017-11-26 21:28:28 +00:00
Terry Cain
62a2d8f756
Improved lambda timings
2017-10-25 20:04:00 +01:00
Chris Keogh
9bb07e6b6e
add awslambda.add_permission
2017-10-03 20:02:23 +13:00
Alexander Mohr
9008b85299
lambda + SNS enhancements ( #1048 )
...
* updates
- support lambda messages from SNS
- run lambda in docker container
* decode output
* populate timeout
* simplify
* whoops
* skeletons of cloudwatchlogs
* impl filter log streams
* fix logging
* PEP fixes
* PEP fixes
* fix reset
* fix reset
* add new endpoint
* fix region name
* add docker
* try to fix tests
* try to fix travis issue with boto
* fix escaping in urls
* fix environment variables
* fix PEP
* more pep
* switch back to precise
* another fix attempt
* fix typo
* fix lambda invoke
* fix more unittests
* work on getting this to work in new scheme
* fix py2
* fix error
* fix tests when running in server mode
* more lambda fixes
* try running with latest docker
adapted from aiodocker
* switch to docker python client
* pep fixes
* switch to docker volume
* fix unittest
* fix invoke from sns
* fix zip2tar
* add hack impl for get_function with zip
* try fix
* fix for py < 3.6
* add volume refcount
* try to fix travis
* docker test
* fix yaml
* try fix
* update endpoints
* fix
* another attempt
* try again
* fix recursive import
* refactor fix
* revert changes with better fix
* more reverts
* wait for service to come up
* add back detached mode
* sleep and add another exception type
* put this back for logging
* put back with note
* whoops :)
* docker in docker!
* fix invalid url
* hopefully last fix!
* fix lambda regions
* fix protocol
* travis!!!!
* just run lambda test for now
* use one print
* fix escaping
* another attempt
* yet another
* re-enable all tests
* fixes
* fix for py2
* revert change
* fix for py2.7
* fix output ordering
* remove this given there's a new unittest that covers it
* changes based on review
- add skeleton logs test file
- switch to docker image that matches test env
- fix mock_logs import
* add readme entry
2017-09-27 16:04:58 -07:00
Chris Keogh
101dfaa412
fix tests for python 3.x
2017-09-15 15:41:48 +12:00
Chris Keogh
2c8326e9b9
allow get_function for lambda created with zipfile
2017-09-15 14:49:32 +12:00
aohara-admin
98f95dd4a7
add Lambda tag_resource, untag_resource, and list_tags methods
2017-09-13 15:41:49 -04:00
Waldemar Hummer
da7106cfd6
extended CloudFormation models for Lambda and DynamoDB
2017-06-01 22:43:23 +02:00
Hugo Lopes Tavares
bfa8b4552c
Fix CloudFormation Lambda ZipFile implementation to be plain text
...
The AWS CloudFormation documentation[1] states the following about the ZipFile property:
> For nodejs4.3, nodejs6.10, python2.7, and python3.6 runtime environments, the source code of your Lambda function.
> You can't use this property with other runtime environments.
[1]: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-code.html#cfn-lambda-function-code-zipfile
2017-05-17 18:48:54 -04:00
Steve Pulec
e7a3f3408e
Add Lambda header for invoking error. Closes #770 .
2017-03-16 22:00:57 -04:00
Steve Pulec
6d422d1f37
Add BaseModel to all models.
2017-03-11 23:41:12 -05:00