3203 Commits

Author SHA1 Message Date
Mariusz Nowak
96202a7838 refactor: Rename lib/utils/awsSdkPatch.js 2022-01-27 15:21:58 +01:00
Mariusz Nowak
1f30396732 refactor: Rename lib/plugins/aws/customResources 2022-01-27 15:21:58 +01:00
Mariusz Nowak
d3d55dfcfc refactor: Rename lib/plugins/aws/invokeLocal 2022-01-27 15:21:58 +01:00
Mariusz Nowak
7207f5dce8 refactor: Rename lib/plugins/aws/invokeLocal/runtimeWrappers 2022-01-27 15:21:58 +01:00
Mariusz Nowak
bd7dece8ce refactor: Rename lib/classes/Service.js 2022-01-27 15:21:58 +01:00
Mariusz Nowak
c6300fbc24 refactor: Rename …mResources/resources/event-bridge/lib/eventBridge.js 2022-01-27 15:21:58 +01:00
Mariusz Nowak
a55a48fdec refactor: Rename lib/plugins/aws/customResources/resources/eventBridge 2022-01-27 15:21:58 +01:00
Mariusz Nowak
5cc98ca676 refactor: Rename …s/customResources/resources/apiGatewayCloudWatchRole 2022-01-27 15:21:58 +01:00
Mariusz Nowak
8da00202f2 refactor: Rename …esources/resources/cognito-user-pool/lib/userPool.js 2022-01-27 15:21:58 +01:00
Mariusz Nowak
227191f59b refactor: Rename …lugins/aws/customResources/resources/cognitoUserPool 2022-01-27 15:21:58 +01:00
Piotr Grzesik
1cb6a2ff2d refactor: Remove legacy logs 2022-01-27 15:21:58 +01:00
Piotr Grzesik
1e77417026 refactor(CLI): Improve progress for CloudFormation updates 2022-01-27 15:21:58 +01:00
Mariusz Nowak
5374e04503 feat: Restrict stage name with pattern 2022-01-27 15:21:58 +01:00
Piotr Grzesik
82b373e9c7 refactor(AWS Deploy): Use change sets in CF deployments 2022-01-27 15:21:58 +01:00
Mariusz Nowak
6f3a632773 feat(AWS IAM): Deprecate IAM settings grouped directly at provider 2022-01-27 15:21:58 +01:00
Mariusz Nowak
b5069ef8cb feat(CLI): Deprecate support for deploy -f alias 2022-01-27 15:21:58 +01:00
Piotr Grzesik
9a834152a9 feat(AWS Lambda): Change default hashing algorithm
BREAKING CHANGE: Default lambda hashing algorithm was changed to `20201221`
2022-01-27 15:21:58 +01:00
Piotr Grzesik
38412ce88b feat: Simplify logs command output 2022-01-27 15:21:58 +01:00
Mariusz Nowak
7abbde611c feat(AWS Lambda): Remove support for obsolete runtimes
BREAKING CHANGE: Runtimes `nodejs10.x`, `python2.7`, `ruby2.5` and
`dotnetcore2.1` reached end of support on AWS and are no longer recognized
in configuration.
2022-01-27 15:21:58 +01:00
Piotr Grzesik
d4222c10cf feat(AWS API Gateway): Error on tracing or logs set for external API
BREAKING CHANGE: Enabling logs or tracing for imported API Gateway will
now result in an error instead of warning
2022-01-27 15:21:58 +01:00
Piotr Grzesik
16f2159761 feat(AWS EventBridge): Change default deployment method to native CF
BREAKING CHANGE: By default, EventBridge resources now will be deployed using
native CloudFormation resources instead of Custom Resources.
2022-01-27 15:21:58 +01:00
Piotr Grzesik
786a76d1dd feat(AWS API Gateway): Change default identity source for authorizers
BREAKING CHANGE: For authorizers with `request` type and caching disabled
(`resultTtlInSeconds: 0`), the `identitySource` will no longer be set to
`method.request.header.Authorization` by default.
2022-01-27 15:21:58 +01:00
Piotr Grzesik
bd3ec28273 feat(AWS API Gateway): Remove API specific settings from provider
BREAKING CHANGE: Support for `usagePlan`, `resourcePolicy` and `apiKeys` on
`provider` level is removed. Use `provider.apiGateway` level instead to set
them.
2022-01-27 15:21:58 +01:00
Piotr Grzesik
8d803e3392 feat(AWS Alexa): Remove support for alexaSkill without appId
BREAKING CHANGE: Support for simple `alexaSkill` event was removed and now
`appId` is required for all `alexaSkill` events.
2022-01-27 15:21:58 +01:00
Piotr Grzesik
650ed37db3 feat(AWS HTTP API): Deprecate provider.httpApi.useProviderTags 2022-01-27 15:21:58 +01:00
Piotr Grzesik
afc0955093 feat(AWS HTTP API): Always apply provider.tags to HTTP API
BREAKING CHANGE: Tags from `provider.tags` are applied by default to HTTP API
Gateway.
2022-01-27 15:21:58 +01:00
Piotr Grzesik
dcc9fc0cab feat(AWS API Gateway): Remove support for request.schema
BREAKING CHANGE: Support for `http.request.schema` has been removed and replaced
with `http.request.schemas`.
2022-01-27 15:21:58 +01:00
Piotr Grzesik
ff9bbb0ff4 feat(AWS CloudFront): Remove support for deprecated behavior props
BREAKING CHANGE: Support for `MinTTL`, `MaxTTL`, `DefaultTTL` and
`ForwardedValues` on `cloudfront.behavior` has been removed.
2022-01-27 15:21:58 +01:00
Piotr Grzesik
98848ab4fc feat: Throw for --aws-s3-accelerate when custom bucket used
BREAKING CHANGE: Using `--aws-s3-accelerate` flag will result in an error
instead of deprecation when custom S3 bucket is used.
2022-01-27 15:21:58 +01:00
Piotr Grzesik
7474746a8e feat: Remove support for provider.disableDefaultOutputExportNames
BREAKING CHANGE: Removed support for `provider.disableDefaultOutputExportNames`
2022-01-27 15:21:58 +01:00
Piotr Grzesik
c71bab3cd4 feat(AWS Lambda): Change default runtime to nodejs14.x
BREAKING CHANGE: Default runtime has been changed from `nodejs12.x` to
`nodejs14.x`
2022-01-27 15:21:58 +01:00
Piotr Grzesik
59116758c9 feat(AWS Lambda): Remove support for awsKmsKeyArn setting
BREAKING CHANGE: Properties `service.awsKmsKeyArn` and
`functions[].awsKmsKeyArn` are no longer supported. Use `provider.kmsKeyArn`
and `functions[].kmsKeyArn` instead.
2022-01-27 15:21:58 +01:00
Piotr Grzesik
05fb97fdab refactor: Refactor direct use of @serverless/utils/log 2022-01-19 11:59:39 +01:00
Mark Tse
a4ec51869f
docs: Fix initialize hook reference in comment 2022-01-15 00:24:47 +01:00
Piotr Grzesik
0dacf1bb3b refactor: Support conceal option in modern logs 2022-01-14 11:56:57 +01:00
Mariusz Nowak
521861b651 refactor(AWS Deploy): Improve custom resource generation log 2022-01-12 16:33:14 +01:00
Mariusz Nowak
cc905c1e39 refactor: Remove not actual TODO comments 2022-01-12 16:33:14 +01:00
Tsimpitas Dimitris
c67a3f1a4f
feat(AWS Cognito): Support forceDeploy setting (#10435) 2022-01-05 14:17:24 +01:00
Piotr Grzesik
9e1fe0ad5d fix(Config Schema): Address invalid schema definitions 2022-01-05 13:58:59 +01:00
Piotr Grzesik
0de3bc3cb9 feat(Telemetry): Report projectId in remove command 2021-12-23 16:11:15 +01:00
Piotr Grzesik
4fa20a56ea feat(Telemetry): Report didCreateService property 2021-12-23 12:51:04 +01:00
Piotr Grzesik
0190d0df05 fix(AWS Deploy): Check for VPC config change in deploy function 2021-12-22 15:58:47 +01:00
Vassili Gorshkov
2782ed4221
fix(AWS Local Invocation): Upgrade log4j to version 2.17.0 (#10396) 2021-12-21 10:54:04 +01:00
Adam Lanners
c0eda27290
feat(AWS API Gateway): Allow use of custom authorizer with authorizerId
Co-authored-by: Adam Lanners <adam@onetapaway.com>
2021-12-21 10:49:50 +01:00
Sudipto Das
2c0a962c4f
fix(AWS API Gateway): Meaningfully reject missing restApiRootResourceId
(PR #10371)
2021-12-15 17:16:28 +01:00
Mariusz Nowak
3b4e4539d8 fix(AWS Lambda): Fix event config setup for provisioned lambdas 2021-12-15 12:29:13 +01:00
Mariusz Nowak
f64f7c68ab
feat(AWS API Gateway) : Allow shouldStartNameWithService: false 2021-12-09 15:41:44 +01:00
Mariusz Nowak
ef1ed0a92d
feat(AWS HTTP API) : Allow shouldStartNameWithService: false 2021-12-09 15:41:00 +01:00
Mariusz Nowak
2485c7efcc
fix(AWS Deploy): Recognize all boolean values at provider.disableRollback 2021-12-09 15:38:44 +01:00
Piotr Grzesik
f35858599a feat(AWS Deploy): Ensure existence of S3 bucket if possible 2021-12-08 14:18:53 +01:00