4675 Commits

Author SHA1 Message Date
Mariusz Nowak
688d09b1f7 refactor: Remove support for internal noDeploy option 2021-04-09 16:10:21 +02:00
Yuji Yamano
af8d2a1926
fix(AWS Local Invocation): Correctly decompress artifact (#9259) 2021-04-09 11:15:54 +02:00
Yuji Yamano
34d2c2feac
fix(AWS Local Invocation): Strip null envvars for local invoke (#9263) 2021-04-09 10:54:55 +02:00
Piotr Grzesik
fce73ad4df fix(AWS HTTP API): Adjust schema for correct typescript generation 2021-04-09 10:50:22 +02:00
Piotr Grzesik
50e4425883 fix(AWS API Gateway): Proper stage resolution for custom resource 2021-04-09 10:44:35 +02:00
Yuji Yamano
ce210f7852
fix(AWS Local Invocation): Adjust .gitignore #9273. (#9274) 2021-04-09 10:43:13 +02:00
Piotr Grzesik
dac06c8ce6 fix(AWS API Gateway): Do not attempt to remove aws: tags during update 2021-04-08 14:15:11 +02:00
Nicholas Wehr
341a886874
feat(AWS Lambda): Add support for cacheFrom to images (#9251) 2021-04-08 10:56:24 +02:00
Nicholas Wehr
efd32d4725
feat(AWS Lambda): Add support for buildArgs to images (#9198) 2021-04-07 09:33:08 +02:00
Piotr Grzesik
0e6a1ce2d4 fix(AWS Deploy): Correctly identify "no updates" error during deploy 2021-04-06 14:18:23 +02:00
Mariusz Nowak
9d84596604 fix(AWS CloudFront): Recognize "?" character in pathPattern property 2021-04-02 15:18:13 +02:00
Mariusz Nowak
2011649537 refactor: Remove injustified "eslint-disable" comments 2021-04-02 15:05:03 +02:00
Mariusz Nowak
7d16947273 fix(Packaging): Ensure to apply dev dependency exclusion 2021-04-02 14:48:32 +02:00
Mariusz Nowak
9793c506ec fix(Packaging): Recognize layers[].package.patterns 2021-04-02 13:28:40 +02:00
Piotr Grzesik
0a84f1c84e fix(AWS IAM): Support for CF functions for provider.iam.role 2021-03-31 12:36:11 +02:00
Piotr Grzesik
d3c6e4323b feat(AWS HTTP API): Add support for AWS IAM authorization 2021-03-30 11:34:31 +02:00
Piotr Grzesik
37d03b6888 feat(AWS HTTP API): Add support for custom Lambda authorizers 2021-03-29 16:38:55 +02:00
Joël Galeran
bf83f3c406
chore: Update code comment about file stat chmod (#9191)
It seems that `normalizedFilesToChmodPlusX` was removed and does not exist anymore so removing it from the comment seemed appropriate
2021-03-29 15:13:18 +02:00
Juanjo Diaz
e1678fb1c6
feat(Packaging): Deprecate include & exclude in favor of patterns
(PR #8581)
2021-03-26 11:33:58 +01:00
Mariusz Nowak
aca3c0d57d refactor(CLI): Seclude command help render from internals 2021-03-26 10:11:57 +01:00
Piotr Grzesik
14f5743846 feat(AWS Lambda): Do not require all image properties 2021-03-24 21:13:43 +01:00
Mariusz Nowak
2294a4b4cb refactor(CLI): Move lifecycles definition to commands schema
It's needed to be able to process commands as introduced by plugins without a need of processing Serverless instance
2021-03-24 11:50:24 +01:00
Sergii Kovalev
8c3e1be735
feat(AWS IAM): Add support for iam.role.name definition (#9166)
Co-authored-by: Sergii Kovalev <sergey@haftahave.com>
2021-03-24 09:43:38 +01:00
Mariusz Nowak
d455b236cf refactor(CLI): Handle "help" with a schema 2021-03-22 15:31:17 +01:00
Piotr Grzesik
b530d6a288 feat(AWS API Gateway): Remove deprecation for old naming convention 2021-03-22 14:20:50 +01:00
andy Augustin
d935dccb26
fix(AWS Deploy): Fix format of url data as passed to https-proxy-agent
(PR #9147)
2021-03-22 14:18:57 +01:00
Piotr Grzesik
2712f3b493 fix(AWS Deploy): Correctly detect finished stack removal with DEBUG 2021-03-22 12:40:43 +01:00
Piotr Grzesik
6e3e21cafa fix(Packaging): Ensure to properly exclude when NODE_ENV set 2021-03-18 16:01:47 +01:00
Mariusz Nowak
3e983f347a fix: Bring back "provider.sdk" property, to not break plugins 2021-03-16 17:54:00 +01:00
Mariusz Nowak
41df6fbee2 fix(AWS Credentials): Fix credentials resolution (right way) 2021-03-16 14:58:54 +01:00
Piotr Grzesik
5183620e9e fix(AWS EventBridge): Clarify CF functions support for eventBus 2021-03-16 14:57:07 +01:00
Mariusz Nowak
6f8b5b41eb fix(AWS Credentials): Fix credentials resolution 2021-03-16 13:58:57 +01:00
Piotr Grzesik
4cd629ac44 fix(AWS Lambda): Ensure correct schema for vpc definition 2021-03-16 13:58:44 +01:00
Mariusz Nowak
8b301dce9c refactor(CLI): Generalize handling of not supported commands 2021-03-16 09:34:33 +01:00
Mariusz Nowak
6ec463cbe7 fix(CLI): Improve handling of container commands
Allow to run them, and simply show help output if they're run
2021-03-16 09:34:33 +01:00
Mariusz Nowak
21cc4cf8cb refactor(CLI): Expose "--help" in supported command options 2021-03-16 09:34:33 +01:00
Mariusz Nowak
b9afc144bf refactor(CLI): Recognize interactive setup command in commands schema 2021-03-16 09:34:33 +01:00
Mariusz Nowak
14a2640bd9 refactor(CLI): Seclude schema of core commands 2021-03-16 09:34:33 +01:00
Mariusz Nowak
6752945eaa refactor(CLI): Fix "config tabcompletion uninstall" usage info 2021-03-16 09:34:33 +01:00
coyoteecd
e77a00dfff
fix(AWS IAM): Accept arn:${AWS::Partition} in function roles (#9103) 2021-03-15 16:49:03 +01:00
Tony Papousek
3597f4539d
fix(Templates): Fix runtime for azure-nodejs-typescript (#9106)
I receive the error `Error: Runtime nodejs12.x is not supported. Runtimes supported: nodejs10,nodejs12,python3.6,python3.7,python3.8,dotnet2.2,dotnet3.1` when trying to run the current version. Changing to just `nodejs12` helps.

Haven't done much testing on this (struggling with AZ auth and subscription lists), but this fix seems to suppress the error message and allow `sls offline` to run.

This value aligns with [the CONFIG.md doc](https://github.com/serverless/serverless-azure-functions/blob/master/docs/CONFIG.md), and should help prevent further occurrences of #6998 in this repo, as well as issue 393 in the [serverless-azure-functions repo](https://github.com/serverless/serverless-azure-functions).
2021-03-15 13:08:35 +01:00
AlinoeDoctari
5fb85d36c8
refactor: Seclude AWS request util from internals (#8850) 2021-03-12 15:27:49 +01:00
Mariusz Nowak
aa7b66a66c fix(AWS Deploy): Fix deploy function command error handling 2021-03-11 16:55:19 +01:00
Mariusz Nowak
a7d2cf0605 refactor(AWS Deploy): Minimize try/catch wrap 2021-03-11 16:55:19 +01:00
terrybondy
ab8529cb24
fix(AWS Local Invocation): Support env vars with = in value (#9079)
* Fix prettier warnings.

* test(invoke): ensure everything after first "=" is included in environment variable

* test(invoke): unskip new test

Co-authored-by: Lew Gordon <lew.gordon@genesys.com>
2021-03-10 09:23:18 +01:00
Yahia Kerim
82bf35c1b9
fix(AWS IAM): Allow iam.role to use awsLambdaRole definition (#9094) 2021-03-09 17:21:04 +01:00
Tristan Rigaut
dea7b5a3c0
fix(AWS Deploy): Warn when invalid IAM policy to fetch lambda (#9041) 2021-03-09 10:29:29 +01:00
Dave Lowther
5f5d2e580e
fix(Config Schema): Support CF functions for managed policies (#9089) 2021-03-09 09:38:42 +01:00
Sam Lyon
0f631f7bd1
feat(Config Schema): Accept accountId as policy principal 2021-03-08 21:13:08 +01:00
Dmitry Shirokov
42a1cdb6f1
feat(AWS IAM): Allow tags parameter on lambda execution role (#9039) 2021-03-08 11:04:32 +01:00