2723 Commits

Author SHA1 Message Date
Mariusz Nowak
4c36753507 fix(Config Schema): Recognize string value at DependsOn 2020-09-15 09:45:38 +02:00
Frédéric Barthelet
1fb338b184
feat(Config Schema): Schema for AWS stream event (#8201) 2020-09-14 15:46:13 +02:00
Michael Wolfenden
6961b629e7
fix(Config Schema): Fix CF template extension Transformschema (#8229) 2020-09-14 15:02:51 +02:00
Geoff Baskwill
16bae33744
fix: Support Condition attribute in resources.extensions (#8217) 2020-09-10 16:54:13 +02:00
Mariusz Nowak
1cfd1f25a2 feat(AWS HTTP API): Drop support for timeout setting
BREAKING CHANGE:
`timeout` setting as configured directly for `httpApi` event,  is no longer supported.  Timeout value is now unconditionally resolved from  function timeout setting. It's to guarantee that configured endpoint has necessary room to process function invocation
2020-09-10 13:26:17 +02:00
Mariusz Nowak
1beb8d0246 refactor: Replace mkdrip with esnureDir from fs-extra 2020-09-10 13:26:17 +02:00
Mariusz Nowak
0597cfb7b3 chore: Upgrade ESLint configuration to support ES2019 syntax 2020-09-10 13:26:17 +02:00
morgan-sam
7c304df5ff feat(AWS ALB): Remove support for authorizers[].allowUnauthenticated
BREAKING CHANGE:
Support for `providers.alb.authorizers[].allowUnauthenticated` setting was removed. Rely on `providers.alb.authorizers[].onUnauthenticatedRequest` instead.

(PR #8160)
2020-09-10 13:26:17 +02:00
andreizet
1596738cf9 feat(AWS HTTP API): Switch default payload mode to 2.0 (#8133)
BREAKING CHANGE:
In AWS HTTP API events (`httpApi`) default `payload` was changed from `1.0` to `2.0`
2020-09-10 13:26:17 +02:00
Piotr Grzesik
e131f2661d refactor(AWS Lambda): Remove support for async config on destination
(PR #8138)

BREAKING CHANGE
Support for `maximumEventAge` and `maximumRetryAttemps` as set on `functions[].destinations` was removed.
Those properties should be defined directly on `functions[]`
2020-09-10 13:26:17 +02:00
Mariusz Nowak
34775627f2 fix(Config Schema): Recognize Condition on resource configuration 2020-09-10 11:49:34 +02:00
Andy Duncan
d9b91e97fb
feat(Config Schema): Schema for AWS schedule event (#8143) 2020-09-09 13:13:03 +02:00
Mariusz Nowak
05921b61ee test: Upgrade to use new fixtures engine 2020-09-09 11:17:21 +02:00
Cole Mujadzic
f727631100
fix(AWS API Gateway): Fix model resource name generator (#8204) 2020-09-09 09:26:53 +02:00
Mariusz Nowak
b0547e6e1a fix(AWS Stream): Fix support for batchWindow: 0 2020-09-08 10:38:44 +02:00
Frédéric Barthelet
428fc796c1
feat(AWS HTTP API): Recognize support for CF instructions in authorizers
(PR #8200)
2020-09-08 10:16:22 +02:00
Frédéric Barthelet
72745c9e77
feat(AWS Local Invocation): Resolve CF Ref in env variables (#8198) 2020-09-08 10:13:53 +02:00
jkburges
8f070d58c4
fix(Templates): Add missing property in ruby template (#8195)
This property was previously missing from the fake lambda context when running ruby functions locally.

Ref: https://docs.aws.amazon.com/lambda/latest/dg/ruby-context.html
2020-09-07 11:07:43 +02:00
Geoff Baskwill
00d6f79c50
feat(Config Schema): Schema for AWS resources section (#8139) 2020-09-07 09:21:16 +02:00
Piotr Grzesik
e55fc36e1a
feat(Config Schema): Schema for AWS iot event (#8177) 2020-09-03 09:26:12 +02:00
Mariusz Nowak
3b294fb1db refactor(AWS HTTP API): Convert "timeout" usage warnings to deprecations 2020-09-02 15:24:11 +02:00
Frédéric Barthelet
72e77f5755
fix(Config Schema): Fix "Fn:Sub" function definition (#8174) 2020-09-02 15:03:51 +02:00
Frédéric Barthelet
453b802640
feat(AWS HTTP API): Support CF functions at httpApi.authorizer.id
(PR #8171)
2020-09-02 12:57:50 +02:00
Mariusz Nowak
6d7103da02 refactor: Seclude IAM role resource name resolution logic 2020-09-02 10:56:18 +02:00
Joaquín Ormaechea
7aad819378
feat(AWS API Gateway): Allow to opt-out from default request templates
(PR #8159)
2020-09-01 16:15:33 +02:00
Frédéric Barthelet
06ed01b874
feat(AWS Local Invocation): Resolve "Fn::ImportValue" instructions in env vars
(PR #8157)
2020-09-01 14:53:08 +02:00
Frédéric Barthelet
87fd3c17fb
feat(Config Schema): Configure schema for AWS sns event (#8112) 2020-09-01 12:53:26 +02:00
Mariusz Nowak
8c3c7c4e3a chore: Rename "tests" folder to "test"
Also upgrade @serverless/eslint-config to v2
2020-08-28 16:22:09 +02:00
Mariusz Nowak
6d7e967227 refactor(Config Schema): Treat "resources" as fully provider specific 2020-08-28 14:17:54 +02:00
Mariusz Nowak
c79cae2308 refactor(Config Schema): Define AWS definitions in context of provider 2020-08-28 14:17:54 +02:00
Mariusz Nowak
f9bcaaead9 refactor(AWS Deploy): Replace 'async' dependency 2020-08-25 19:47:40 +02:00
Mariusz Nowak
27b1221c5f test: Improve error handling 2020-08-25 19:47:40 +02:00
Piotr Grzesik
149f64ad1c
feat(AWS Lambda): Support EFS attachment (#8042) 2020-08-25 17:48:19 +02:00
Frédéric Barthelet
796ce0b5dd
feat(Config Schema): AWS eventBridge schema validation (#8114) 2020-08-21 16:06:51 +02:00
Mariusz Nowak
7f04819916 refactor(Config Schema): Rename cfImport definition to awsCfImport 2020-08-21 15:46:35 +02:00
Sedat Can Yalçın
258c692c47
perf(Packaging): Remove aws-sdk installation step (#8110) 2020-08-21 15:03:12 +02:00
stuartforrest-infinity
37d80cb7cf
refactor(AWS S3): Fix typo in var name (#8106) 2020-08-20 12:44:26 +02:00
Frédéric Barthelet
184cb48033
feat(Config Schema): Schema for Cognito Pool events (#8105) 2020-08-20 12:42:41 +02:00
Mariusz Nowak
3f6b3ce9a4 fix(AWS HTTP API): Recognize API id passed as CF import instruction 2020-08-19 15:59:42 +02:00
Mariusz Nowak
2faa20e835 fix(AWS Credentials): Fix error message resolution 2020-08-19 15:30:20 +02:00
Mariusz Nowak
b892a97d55 refactor(Config Schema): Ensure alphabetical order 2020-08-19 13:37:54 +02:00
Mariusz Nowak
fc9edfc90e fix(AWS HTTP API): Fix config schema issues discovered in tests 2020-08-19 13:37:54 +02:00
Frédéric Barthelet
f091c07992
feat(Config Schema): AWS HTTP API schema (#8068) 2020-08-19 12:05:50 +02:00
Geoff Baskwill
20d9c6414a
feat(AWS API Gateway): Schema for provider.resourcePolicy setting (#8051) 2020-08-17 16:16:15 +02:00
Mariusz Nowak
5a691f4457 fix(AWS API Gateway): Fix referencing provisioned authorizers 2020-08-06 17:39:47 +02:00
Mariusz Nowak
2abb9ad855 fix(AWS SQS): Fix referencing lambdas with provisioned concurrency 2020-08-06 17:39:47 +02:00
Mariusz Nowak
bab0d56bd9 fix(AWS Lambda): Ensure to respect maximumRetryAttempts set to 0 2020-08-05 16:36:56 +02:00
Mariusz Nowak
31f52f9f9e test(AWS Lambda): Improve async config tests 2020-08-05 16:36:56 +02:00
Petr Reshetin
268f714357
feat: Schema based validation of service config (#7335)
Co-authored-by: Mariusz Nowak <medyk@medikoo.com>
2020-08-03 15:41:05 +02:00
Daniil Bratchenko
41d19b3834
fix(AWS EventBridge): Fix handling of events removal (#8004) 2020-07-31 22:15:06 +02:00