13108 Commits

Author SHA1 Message Date
Pratik Prajapati
a3ebc01f2b
feat(AWS Deploy): Retry retryable SDK errors in custom resources (#8338) 2020-10-07 13:22:16 +02:00
David Wells
60cfa75d6b
fix(AWS IAM): Report missing RoleName on custom role (#8219) 2020-10-07 10:53:12 +02:00
Geoff Baskwill
faa1dce9ee
fix(Config Schema): Fix Fn::Join delimiter length (#8349) 2020-10-07 10:22:35 +02:00
Oz Weiss
d2fb696ebd
fix(AWS API Gateway): Fix resolution of request parameters required value
(PR #8329)
2020-10-06 13:47:32 +02:00
Mariusz Nowak
e75339958f
test(AWS Cognito): Improve tests setup 2020-10-06 12:56:23 +02:00
Mariusz Nowak
72d63f7d39
chore: Allow console logs in fixtures 2020-10-06 12:54:25 +02:00
Raul Zaldana
11a9d37f6e
feat(Config Schema): Recognize Fn::Transport at resoures.Resources
(PR #8337)
2020-10-06 09:54:29 +02:00
Helmut Januschka
96ed7db08c
docs: Update kubeless provider docs (#8341) 2020-10-06 08:58:33 +02:00
Mariusz Nowak
7e4871b223 test: Improve test reliability 2020-10-05 15:47:41 +02:00
Mariusz Nowak
ac34110852 fix(Variables): Fix support for ${self:} 2020-10-05 15:47:41 +02:00
Mariusz Nowak
fd451caf90 fix(Variables): Fix handling of circular object references 2020-10-05 15:47:41 +02:00
Noel Martin Llevares
fc34140f4e
fix(Config Schema): Fix provider.tags schema (#8314) 2020-10-02 13:34:59 +02:00
Mariusz Nowak
5851bcadcf
fix(AWS Lambda): Revert inclusion of version hashi in env var (#8332)
This reverts commit 73c34b9f2bbe3b7c063a257a5b032b7460f263c0.

We need to revert it, as it'll break lambdas intended to back cloudFront distributions
2020-10-02 12:06:27 +02:00
Piotr Grzesik
34ad69f9bc
test(AWS SQS): Test integration with provisioned lambda (#8326) 2020-10-02 11:57:30 +02:00
Mariusz Nowak
c27f5b3e9e fix(Config Schema): Allow both arn and topicName in sns event 2020-10-02 11:37:56 +02:00
Frédéric Barthelet
a020a4a683
fix(AWS SNS): Recognize displayName as optional (#8323) 2020-10-01 18:23:28 +02:00
Brent Jackson
73c34b9f2b
fix(AWS Lambda): Ensure version hash is in all cases effective (#8310)
In some instances the version hash may change due to a change involving
CloudFormation instrisic functions, but upon resolving the functions, the
resulting lambda configuration is identical to what is currently
deployed. This causes the Lambda::Version to fail to publish since AWS
sees the lambdas as identical.

This commit embeds an environment variable onto each lambda function with
the value of the version config hash, ensuring that anytime the config
hash changes, the resulting lambda configuration will be changed,
allowing a Lambda::Version to be published.
2020-10-01 18:20:08 +02:00
Oz Weiss
4168dc1f30
feat(Config Schema): Schema for layers (#8299) 2020-10-01 17:39:51 +02:00
Mariusz Nowak
a6ff964d84 feat: Coerce primitive config values to arrays, when array is expected 2020-10-01 15:31:21 +02:00
Mariusz Nowak
ddd8f883ae refactor(Config Schema): Remove dead configuration 2020-10-01 15:31:21 +02:00
Mariusz Nowak
6d1ee37004 feat: Coerce input configuration values 2020-10-01 15:31:21 +02:00
Mariusz Nowak
c51e293ff4 refactor(Config Schema): Improve comments 2020-10-01 15:31:21 +02:00
Mariusz Nowak
57996a06a0 feat: Clear null valued props in service configuration
Instead of normalizing just for schema validation, normailze also for use
2020-10-01 15:31:21 +02:00
Johannes Edelstam
5b740f6e18
feat(Config Schema): Fix cloudFront event behavior schema (#8308) 2020-10-01 14:49:00 +02:00
Mariusz Nowak
ab5cdd10aa fix(Config Schema): Recognize boolean format for provider.logs.restApi 2020-10-01 14:20:53 +02:00
Mariusz Nowak
4a3216c9b1
test(AWS Cognito Pool): Prevent race condition failures
As observed e.g. here https://github.com/serverless/serverless/runs/1189045670
2020-10-01 13:34:07 +02:00
Frédéric Barthelet
38c204762c
feat(Config Schema): Schema for AWS provider properties (#8297) 2020-10-01 10:24:55 +02:00
Frédéric Barthelet
dd9a011f60
feat(Config Schema): Schema for provider.logs.restApi (#8309) 2020-09-30 18:55:08 +02:00
Mariusz Nowak
8293cc4f71
chore: Release v2.4.0 v2.4.0 2020-09-30 16:11:46 +02:00
Mariusz Nowak
b188f295b3
chore: Bump dependencies 2020-09-30 15:06:46 +02:00
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
Piotr Grzesik
3ed97790ba
test(AWS Lambda): refactor EFS test to rely on infra (#8289) 2020-09-25 15:53:17 +02:00
Mariusz Nowak
2eebf5194a
chore: Release v2.3.0 v2.3.0 2020-09-25 11:42:12 +02:00
Mariusz Nowak
c191053222
chore: Bump dependencies 2020-09-25 11:35:22 +02:00
Mariusz Nowak
afd286d1f5
docs: Fix spelling 2020-09-24 17:29:21 +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
Mariusz Nowak
8409d61e29
test(AWS Cognito): Improve logs handling 2020-09-24 16:09:19 +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
3d13ac5eb4
chore: Register "AWS MSK" commit message scope 2020-09-24 10:22:09 +02:00
Mariusz Nowak
ee3b519425 refactor(Print): Improve variables handling 2020-09-24 10:01:24 +02:00