4335 Commits

Author SHA1 Message Date
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
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
56aa5aa15a feat(Standalone): Prevent accidental upgrades to a new major 2020-08-31 15:23:58 +02:00
Viacheslav Dobromyslov
40fb8ae112
feat(Templates): Upgrade google-nodejs template (#8152)
Updated NodeJS to 10 version. NodeJS 8 is deprecated in Google Cloud Functions.
2020-08-31 10:57:34 +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
2561ae800e
fix(packaging): Ensure to include "aws-sdk" dependency if installed (#8145)
Latest version of "aws-sdk" do not necessarily aligns with one available in Lambda environment.
Users may intentionally install latest version to ensure they have access to latest features

This reverts commit f45da3c7b168d34e7d3c520068dc24364753a74a.
2020-08-28 14:09:23 +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
Yogendra Sharma
f45da3c7b1
perf(packaging): Exclude "aws-sdk" dependency (#8103)
As it's unconditionally provided in AWS environment
2020-08-19 16:42:10 +02:00