Mariusz Nowak
b05d5bcce3
fix(AWS APIGW): Fix Rest API id detection when no API GW involved
...
Regression introduced with #7126
2019-12-23 16:10:59 +01:00
Mariusz Nowak
dfa0967ecf
fix(AWS APIGW): Ensure to apply API GW stage settings with no endpoints
...
Fixes #7036
2019-12-23 13:58:33 +01:00
Mariusz Nowak
4a947b215c
fix(AWS Lambda): Fix CloudWatch logs creation access
...
Fixes #6241
Closes #6692
2019-12-23 13:58:33 +01:00
Mariusz Nowak
38f6ac125e
fix(AWS APIGW): Ensure to point provisioned version
...
Addresses #7059
2019-12-23 13:58:33 +01:00
Mariusz Nowak
3210a94ef9
fix(AWS Lambda): Workaround AWS issue related to alias redeployments
...
Addresses #7059
2019-12-23 13:58:32 +01:00
Mariusz Nowak
eaf9b6117f
fix(AWS Lambda): Fix provisioned concurrency configuration
...
- So it works with multiple lambda versions
- “internal error” is avoided on change of provisioned
config configuration
Addresses #7059
2019-12-23 13:58:32 +01:00
Mariusz Nowak
3e2f59e27c
refactor(AWS Lambda): Resolve object once
2019-12-23 13:58:32 +01:00
Mariusz Nowak
388c2993f0
refactor(AWS APIGW): Rely on object destructuring
2019-12-23 13:58:32 +01:00
Mariusz Nowak
cf5497198b
refactor(AWS Lambda): Improve var name
2019-12-23 13:58:32 +01:00
Mariusz Nowak
95a397d731
refactor(AWS Lambda): Improve variables naming
2019-12-23 13:58:31 +01:00
Mariusz Nowak
271499777d
refactor(AWS Lambda): Rely on more reliable Object.assign
...
_.merge is deep merge, and may introduce unexpected outcome
2019-12-23 13:58:31 +01:00
Mariusz Nowak
6af76ed237
refactor(AWS APIGW): Convert trailing arguments into options
2019-12-23 13:58:31 +01:00
Mariusz Nowak
84b1d1eb11
fix: Fix custom resource lambda artifact generation
...
When multiple custom resources where generated,
then multiple times we tried to copy generated zip file
into service folder.
On same occasions it crashed with EPERM or ENOENT errors
2019-12-23 13:57:51 +01:00
Mariusz Nowak
5e448e7d1d
refactor: Ensure to return promise from async function
2019-12-23 13:57:51 +01:00
Mariusz Nowak
bc04da5e41
refactor(User Config): Show config save error only with SLS_DEBUG=*
...
It's to not confuse users with warnings which do not affect
how application works
Fixes #7077
2019-12-23 12:54:25 +01:00
Mariusz Nowak
617b479fb7
fix: Fix support for relative plugins.localPath
...
Fixes #7117
2019-12-20 10:34:35 +01:00
Mariusz Nowak
950036157d
fix: Ensure necessary IAM role for handling existing cognito pools
...
Fixes #6579
2019-12-20 10:34:07 +01:00
Mariusz Nowak
8148cf2cac
fix: Support differet AWS partitions
2019-12-20 10:34:07 +01:00
Mariusz Nowak
10d0078d19
refactor: Move cachedFilePath resolution into memoized function
...
In tests run, each file starts with different homedir
2019-12-20 10:34:07 +01:00
Mariusz Nowak
4893f7d0c2
fix(Variables): Ensure no same object instances are shared across config
...
Fixes #7098
2019-12-19 12:05:33 +01:00
Mariusz Nowak
fc74c287f6
fix: Fix AWS partition reference in APIGW CloudWatch role setup
...
Addresses issue mentioned in #7100
2019-12-18 09:37:17 +01:00
Mariusz Nowak
53e596fa67
feat: uninstall command for installed binaries
2019-12-18 09:36:52 +01:00
Mariusz Nowak
c4efd66e4e
feat: upgrade command for installed binaries
2019-12-18 09:36:52 +01:00
Mariusz Nowak
59bea09dad
feat: Recognise as standalone
2019-12-18 09:36:52 +01:00
Philipp Muens
49f6e1e8a5
feat: Configure binaries generation
2019-12-18 09:36:52 +01:00
Mariusz Nowak
ddf3bf40a3
refactor: Centralize npm command resolution
...
It's to provide a room to support alternative npm locations
2019-12-18 09:36:52 +01:00
Mariusz Nowak
3f7f532b88
fix: Ensure not to autocomplete hidden commands
2019-12-18 09:36:52 +01:00
Mariusz Nowak
9db2e1904d
refactor: Cleanup variables
2019-12-18 09:36:52 +01:00
Mariusz Nowak
f29d1697dd
fix: Prevent uncaught exception in case of open util issue
2019-12-17 08:42:57 +01:00
Mariusz Nowak
c900900488
feat: Unconditionally display browser url
2019-12-17 08:42:57 +01:00
Mariusz Nowak
e88d0c5f0e
refactor: Ensure async function format
2019-12-17 08:42:57 +01:00
FanFataL
5143c2ad3a
feat: Memoize resolution of dev deps exclusion paths ( #7091 )
2019-12-16 12:58:40 +01:00
Mark Tse
7e0e903c79
fix: Recognize falsy values as CLI options defaults ( #7071 )
2019-12-13 10:54:40 +01:00
Tuomas Peippo
f9b6507825
feat: Support CF instructions in awsKmsKeyArn setting ( #7083 )
2019-12-12 15:06:53 +01:00
Mariusz Nowak
fead29a5a8
test: Ensure to call after callback on conditional skip
2019-12-12 14:27:40 +01:00
Mariusz Nowak
1e87d5856d
test: Upgrade to @serverless/test v3
2019-12-12 14:27:40 +01:00
Mariusz Nowak
14806d79b0
test: Improve error exposure
2019-12-12 14:27:40 +01:00
Nxtra
0b3a08afaa
feat: Update and improve aws-kotlin-jvm-gradle template ( #7072 )
2019-12-11 09:02:47 +01:00
Mariusz Nowak
06cf6ab257
refactor: Gurantee to resolve with promise
2019-12-09 11:59:22 +01:00
Mariusz Nowak
3195e5e98f
fix: Fix provisioned concurrency support
...
So it doesn't leave outdated versions with configured concurrency
Fixes #7059
2019-12-09 11:59:22 +01:00
Mariusz Nowak
006af9e8f5
refactor: Cleanup conditional
2019-12-09 11:59:21 +01:00
Mariusz Nowak
fb86af5880
refactor: Abort unnecessary work
2019-12-09 11:59:21 +01:00
Mariusz Nowak
f29dd7943e
fix: Do not set optional ParallelizationFactor when not explicitly set
...
Fixes #7049
2019-12-09 11:59:21 +01:00
Mariusz Nowak
89f2368450
refactor: Improve generation of EventSourceMapping resource
2019-12-09 11:59:21 +01:00
Paulo Prestes
f8ee027903
fix: Fix credentials validation in EC2 environment ( #6977 )
2019-12-09 10:13:45 +01:00
Mariusz Nowak
9a2f95bc03
fix: Ensure to not create cognito pools marked as 'existing'
2019-12-06 15:35:19 +01:00
Avinash Reddy Erupaka
998b6fd296
feat: MaximumRetryAttempts config for stream
...
Closes #7012
2019-12-05 12:24:31 +01:00
Mariusz Nowak
6ad516323b
fix: Fix mishandling of cachedCredentials in invokeLocal
...
Fixes #7050
Regression introduced with #7044
2019-12-05 11:15:07 +01:00
Mariusz Nowak
2f0ce9495b
test: Expose cachedCredentials mishandling in invokeLocal
2019-12-05 11:15:07 +01:00
Mariusz Nowak
578c1bc3ba
fix: Revert fix for handing of removal of custom APIGW policy ( #7048 )
...
Adding policy implies different behaviour than when no policy is added
This reverts commit 802f81fa5c8048e4f8fb0b792594a357928df877.
2019-12-04 16:26:10 +01:00