5365 Commits

Author SHA1 Message Date
Mariusz Nowak
eb5e54847e fix(Config Schema): Recognize deployment valid env variables format 2020-09-30 14:30:51 +02:00
Piotr Grzesik
8c4d97211a
fix(AWS SQS): Ensure to depend on provisioned alias if needed (#8298) 2020-09-29 22:18:00 +02:00
Oz Weiss
c96b429c60
feat(Config Schema): Schema for AWS alb event (#8291) 2020-09-29 22:13:25 +02:00
Mariusz Nowak
e990c09edb fix(AWS ALB): Ensure to treat provider.alb.authorizers as optional 2020-09-28 12:29:20 +02:00
Piotr Grzesik
7f474481b6
feat(Config Schema): Schema for AWS alexaSkill event (#8290) 2020-09-25 16:38:32 +02:00
Devon Powell
e75e998e92
fix(Config Schema): Recognize CF intrinsic functions in vpc config
Enable the use of Ref, Fn::Join, Fn::Sub, Fn::Import and Fn::GetAtt when
defining the vpc.subnetIds and vpc.securityGroupIds.

(PR #8283)
2020-09-24 17:28:37 +02:00
Piotr Grzesik
56c7e443a0
refactor: Replace _.forOwn with Object.entries().forEach (#8284) 2020-09-24 17:17:39 +02:00
Oz Weiss
bd5099e150
feat(Config Schema): Schema for AWS alexaSmartHome event (#8255) 2020-09-24 16:10:02 +02:00
Matthieu Napoli
2fdeb51174
fix(Variables): Ensure no collisions with AWS CloudFormation variables
(PR #8279)
2020-09-24 15:31:02 +02:00
Frédéric Barthelet
a55009e221
feat: Deprecate awsKmsKeyArn in favor of kmsKeyArn (#8277) 2020-09-24 12:40:04 +02:00
Patrick Withams
e43c889647
fix(AWS Lambda): Ensure version hash is affected by layer changes
(PR #8066)
2020-09-24 12:19:43 +02:00
Piotr Grzesik
76e02cc09c
refactor: Replace _.forEach with Object.entries().forEach (#8280) 2020-09-24 10:31:32 +02:00
Piotr Grzesik
05d703e6d5
feat(AWS MSK): Support MSK through "msk" event (#8164) 2020-09-24 10:23:09 +02:00
Mariusz Nowak
ee3b519425 refactor(Print): Improve variables handling 2020-09-24 10:01:24 +02:00
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