Ryan S. Brown
8f7584b37e
Enforce schema on dynamic stream ARNs
...
This commit enforces that any dynamic stream *must* have either
Fn::GetAtt or Fn::ImportValue, and can't have any extra keys.
2017-03-02 19:46:25 -05:00
Ryan S. Brown
2c01c06d6d
LINT FOR THE LINTING GODS
2017-03-01 21:52:30 -05:00
Ryan S. Brown
9ca9baabfa
Add tests for dynamic ARNs
2017-03-01 21:33:54 -05:00
Ryan S. Brown
b42585f568
Fix lint errors
2017-03-01 21:00:16 -05:00
Ryan S. Brown
9ab56970e0
Patch DynamoDB and kinesis stream detection to allow use of GetAtt/ImportValue
2017-03-01 21:00:16 -05:00
Nick den Engelsman
6ee7930526
Replace remaning IamPolicyLambdaExecution’s with IamRoleLambdaExecution
2017-02-27 12:49:36 +01:00
Nick den Engelsman
e879b2a6bc
Improved tests for lib/plugins/aws/deploy/compile/functions/index.test.js
...
Improved tests for lib/plugins/aws/deploy/compile/functions/index.test.js
wip
2017-02-20 21:08:32 +01:00
Nick den Engelsman
c8632dded9
Migrated IamPolicyLambdaExecution resource statements towards inline polices within the IamRoleLambdaExecution resource
2017-02-19 21:12:11 +01:00
Philipp Muens
2cd1dfff0b
Minor adjustments
2017-02-06 14:09:52 +01:00
horike37
fd7e167807
Dropped name and description statements
2017-02-04 09:46:06 +09:00
horike37
3ada150d53
Merge branch 'add-cloudwatch-to-event-source' of github.com:horike37/serverless into add-cloudwatch-to-event-source
2017-02-04 09:03:01 +09:00
horike37
8bb29727d1
Merge branch 'master' into add-cloudwatch-to-event-source
2017-02-04 09:02:24 +09:00
Philipp Muens
66588856cb
Update event naming
...
So that it won't clash when other CloudWatch events are implemented.
2017-02-03 14:55:38 +01:00
Eslam λ Hefnawy
dde1b48ad5
Merge pull request #3083 from erikerikson/allow-role-reference-in-func-role-attr
...
Allow Role 'Fn::GetAtt' for Lambda `role`
2017-01-27 16:48:37 +07:00
Eslam λ Hefnawy
96139e70ab
Merge pull request #2736 from asprouse/master
...
Added Access-Control-Allow-Credentials for CORS settings fixes #2182
2017-01-26 19:31:51 +07:00
Erik Erikson
4a38ac3478
Add Error Case Detection
...
The error case of a stream event declaration declaring an unsupported event (type was never checked) was not handled in #2952 . Adding it here.
2017-01-25 15:40:41 -08:00
Erik Erikson
65a57b4fb3
Add Error Case Detection
...
The error case of a stream event declaration declaring an unsupported event (type was never checked) was not handled in https://github.com/serverless/serverless/pull/2952 . Adding it here.
2017-01-25 14:43:08 -08:00
Doug Moscrop
acf74c4c96
add Support for SNS Subscription to existing topics
2017-01-23 15:13:45 -05:00
Philipp Muens
2181ba9478
Remove unused CloudFormation template
2017-01-23 13:21:10 +01:00
Philipp Muens
a6c3240d62
Fix broken test after rebasing
2017-01-20 14:48:28 +01:00
Philipp Muens
116c79dbf8
Refactor function arn generation for info plugin
2017-01-20 14:45:11 +01:00
Eslam λ Hefnawy
1f7ee35321
Merge pull request #3042 from ryansb/optionalVersioning
...
Add the `versionFunctions` provider flag that will reduce the default nu…
2017-01-20 18:43:47 +07:00
Andrew Sprouse
d5b64c8c71
Added Access Control Allow Credentials for CORS settings fixes #2182
2017-01-18 17:12:31 -05:00
horike37
9a8e5cc465
update errormessage
2017-01-15 23:23:20 +09:00
horike37
3ad27484b5
add CloudWatch event source
2017-01-15 23:00:40 +09:00
Philipp Muens
4f9cafb119
Minor cleanups
2017-01-14 14:04:43 -08:00
Philipp Muens
1f810f4018
Fix and update tests
2017-01-14 12:40:41 -08:00
horike37
64af4ef244
fixed the bug when Multi-line values is given in iot events
2017-01-14 15:33:07 +09:00
Erik Erikson
c93c5b29c4
Allow Role 'Fn::GetAtt' for Lambda role
...
Fix https://github.com/serverless/serverless/issues/3081
The fix is to allow the role defined for a Lambda to be a `{ 'Fn::GetAtt', [ 'LambdaLogicalId', 'Arn'] }` reference to a role in the current service. If the `role` attribute is defined, check whether it is a role reference and if it is, fill the depends on attribute for the event mapping to be that logical ID.
Add tests that make sure this use case is covered in future incarnations of the code.
2017-01-10 18:12:26 -08:00
Ryan S. Brown
d4a1aafd80
Add versionFunctions as an AWS provider option that will reduce the default number of stack outputs.
...
Per #2853 , having versions as resources/outputs can trigger some limits
related to CloudFormation stack outputs. This leaves the existing
default, but if turned to `false` will reduce the number of outputs by
N, where N is the number of functions total.
2017-01-05 11:23:52 -05:00
Philipp Muens
6ae19fd724
Merge pull request #2952 from LightmakerCanada/fix-for-2508
...
Generate a single policy statement to cover all stream events
2017-01-03 15:48:50 +01:00
Eslam λ Hefnawy
7fc058df63
Merge pull request #2141 from johnf/cognito_authorizer
...
add the start of cognito user pool authorizer support
2017-01-03 19:28:00 +07:00
Nik Graf
dc2d350ff5
Merge pull request #2954 from horike37/add-awsiot-to-event-source
...
Add IoT event source
2017-01-02 16:12:30 +01:00
Philipp Muens
96117bf6fb
Merge pull request #2991 from serverless/update-status-code-regex-to-match-newlines
...
Update status code regex to match newlines
2016-12-20 18:08:12 +01:00
Philipp Muens
36f3584c5e
Merge master and resolve conflict
2016-12-20 15:01:16 +01:00
Philipp Muens
03cc50b246
Merge pull request #2993 from serverless/fix-vtl-string-escaping
...
Fix VTL string escaping
2016-12-20 14:49:41 +01:00
Philipp Muens
7ef084df5d
Update string replacing in replaceAll
2016-12-20 14:35:40 +01:00
Philipp Muens
6ee2c31549
Update status code regex to match newlines
2016-12-20 12:33:10 +01:00
horike37
4dfd24ba12
Update hierarchical structure of iot events
2016-12-19 19:52:15 +09:00
John Ferlito
565afd438e
Throw an error if cognito claims are used in lambda-proxy mode
2016-12-18 09:43:39 +11:00
John Ferlito
c92c33399e
Refactor the integrations templates to remove duplication
...
The two templates DEFAULT_JSON_REQUEST_TEMPLATE and
DEFAULT_FORM_URL_ENCODED_REQUEST_TEMPLATE contained a lot of duplicated
content.
2016-12-18 09:43:39 +11:00
John Ferlito
577ebfd350
Expose the cognito user pool claims
2016-12-18 09:43:39 +11:00
John Ferlito
64fa7c64b3
Add support for Cognito User Pools authorizer
2016-12-18 09:33:46 +11:00
Maciej Winnicki
15550f8b60
Merge pull request #2940 from erndob/patch-1
...
fix #2936 . Enable schedule event by default.
2016-12-16 17:45:37 +01:00
Philipp Muens
737b495bd3
Update code so that iot events are enabled by default
2016-12-16 11:16:18 +01:00
erndob
0bcd23637b
add tests
2016-12-15 21:15:53 +02:00
horike37
ed7192e3c9
merged master and fixed conflict
2016-12-15 16:49:57 +09:00
horike37
4593528664
Add IoT event source
2016-12-15 16:18:50 +09:00
Adam Biggs
438054bda5
Update comment to better describe code changes
2016-12-14 16:17:26 -08:00
Adam Biggs
9497e98495
Fix linting errors
2016-12-14 16:15:12 -08:00