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
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
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
Johannes Edelstam
5b740f6e18
feat(Config Schema): Fix cloudFront event behavior schema ( #8308 )
2020-10-01 14:49:00 +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
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
Oz Weiss
bd5099e150
feat(Config Schema): Schema for AWS alexaSmartHome event ( #8255 )
2020-09-24 16:10: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
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
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
Oz Weiss
3730fd4fd1
feat(Config Schema): Schema for AWS cloudwatch event ( #8230 )
2020-09-15 16:43:27 +02:00
Frédéric Barthelet
1fb338b184
feat(Config Schema): Schema for AWS stream event ( #8201 )
2020-09-14 15:46:13 +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
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
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
Mariusz Nowak
b0547e6e1a
fix(AWS Stream): Fix support for batchWindow: 0
2020-09-08 10:38:44 +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
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
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
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
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