5351 Commits

Author SHA1 Message Date
Mariusz Nowak
b53716a64c refactor(Print): Read provider values from provider 2020-09-24 10:01:24 +02:00
Mariusz Nowak
ef39e958db refactor: Upgrade "@serverless/utils" to v2
Drop "@serverless/inquirer" dependency
2020-09-23 15:14:25 +02:00
Piotr Grzesik
b867df147a
refactor: Replace _.{entries|entriesIn|toPairs} with Object.entries
(PR #8275)
2020-09-23 13:13:54 +02:00
Piotr Grzesik
57d1ce1a66
refactor: Replace _.values with Object.values (#8274) 2020-09-23 13:09:50 +02:00
Oz Weiss
8943693c33
feat(Config Schema): Schema for AWS cloudfront event (#8250) 2020-09-22 10:03:15 +02:00
Oz Weiss
42676d34d4
feat(Config Schema): Schema for AWS cloudwatchLog event (#8228) 2020-09-22 09:38:29 +02:00
Oz Weiss
1fceb898d0
fix(AWS Lambda): Recognize function-wide settings for version hashing
(PR #8212)
2020-09-22 09:29:54 +02:00
Gábor Lipták
01643273df
fix(AWS Local Invocation): Fix Dockerfile layer path on Windows (#8273) 2020-09-22 08:50:42 +02:00
Oz Weiss
4f96ce1042
feat(Config Schema): Schame for AWS sqs event (#8227) 2020-09-22 08:42:07 +02:00
Frédéric Barthelet
feece9a2ec
feat(Config Schema): Schema for functions[] properties (#8222) 2020-09-21 16:50:52 +02:00
5up3r20e
3e9e6aacc6
fix(AWS SNS): Fix setup of redrive policy (#8268) 2020-09-21 10:53:48 +02:00
Raul Zaldana
e1ca63c06a
feat(Config Schema): Schema for AWS websocket event (#8218) 2020-09-18 17:36:10 +02:00
Piotr Grzesik
0ced414174
feat: Deprecate an attempt to extend nonexistent resources (#8266) 2020-09-18 17:30:26 +02:00
Piotr Grzesik
4bf654376f
feat(AWS Lambda): Recognize CF functions in fileSystemConfig.arn
(PR #8265)
2020-09-18 17:25:16 +02:00
Mariusz Nowak
738c52f6e5 fix: Workaround config schema error on project initialization
It's a temporary patch until #8257 is properly solved
2020-09-16 15:34:08 +02:00
Mariusz Nowak
e028f5e269
refactor(Config Schema): List properties in alphabetical order 2020-09-15 19:30:56 +02:00
Oz Weiss
3730fd4fd1
feat(Config Schema): Schema for AWS cloudwatch event (#8230) 2020-09-15 16:43:27 +02:00
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
Mariusz Nowak
3177e40cee fix: Ensure to memoize config file resolution by instance
Memoizing by service name doesn't work when test configuration changes in same process
2020-09-14 14:15:12 +02:00
Geoff Baskwill
16bae33744
fix: Support Condition attribute in resources.extensions (#8217) 2020-09-10 16:54:13 +02:00
Mariusz Nowak
9f5a07793a refactor(Templates): Upgrade frameworkVersion 2020-09-10 14:47:33 +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
615b10b7b1 test(Packaging): Ensure test is deterministic 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
Christian Musa
33eef9f06b feat(CLI): Remove "slss", "serverless" command alias (#8161)
BREAKING CHANGE:
`slss` alias for `serverless` CLI ommand was removed. Rely on `sls` instead
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
Christian Musa
c620af3cd6 fix(Packaging): Fix resolution of files with '.' In their names (#8130) 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
Mariusz Nowak
3089abc5c4 feat(Templates): Ensure "frameworkVersion" in all templates
As it's now a required setting when relying on globally installed "serverless"
2020-09-02 14:37:49 +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
Frédéric Barthelet
f3083828b4
fix(Templates): Rename vscode to .vscode folder (#8168) 2020-09-02 11:58:56 +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