6695 Commits

Author SHA1 Message Date
Mariusz Nowak
1eeeaa258c
Fix providers list help output in config command 2019-10-15 12:41:22 +02:00
Mariusz Nowak
f2c73e2030
Simplify implementation 2019-10-15 12:41:22 +02:00
Philipp Muens
6e55723505
Merge pull request #6827 from bgaillard/master
Fix perms with several CloudWatch log subscriptions
2019-10-15 11:26:54 +02:00
Mark Tse
7dd70bc973 chore - forgot to run prettier. 2019-10-14 21:36:35 -04:00
Mark Tse
af6d78e003 aws - adding deployment bucket policy to naming.js. 2019-10-14 21:31:34 -04:00
Mariusz Nowak
fe044758fd
Revert "Pause for mfa input" 2019-10-14 13:25:13 +02:00
Mariusz Nowak
a4342239ea
Merge pull request #6828 from neverendingqs/aws/s3templatename
AWS - adding naming function for S3 compiled template file name.
2019-10-14 04:00:46 -05:00
Mariusz Nowak
95fae68c5d
Merge pull request #6829 from neverendingqs/chore/newbuffer
Chore - stop using deprecated 'new Buffer()' method.
2019-10-14 03:52:40 -05:00
Mark Tse
f3d2f620ee chore - undo unintended change. 2019-10-13 15:21:34 -04:00
Mark Tse
e62ddadc9d chore - stop using deprecated 'new Buffer()' method. 2019-10-13 15:15:26 -04:00
Baptiste Gaillard
d565234543
Fix perms with several CloudWatch log subscriptions. 2019-10-13 20:50:37 +02:00
Mark Tse
525fe8a07e aws - adding naming function for S3 compiled template file name. 2019-10-13 14:30:55 -04:00
kdnakt
3fcd05e4a7 prettify 2019-10-13 22:02:34 +09:00
kdnakt
93f015bcd1 add tests files 2019-10-13 21:58:21 +09:00
kdnakt
861bc945ea add testcase for #resolveFilePathsFromPatterns 2019-10-13 21:57:22 +09:00
Mark Tse
238068cfc5 chore - prettified. 2019-10-11 22:38:16 -04:00
Mark Tse
060dc2c050 aws - deployment bucket policy for HTTPS only. 2019-10-11 22:33:16 -04:00
Tanner Barlow
faebd6f72b
Azure Python template 2019-10-11 15:58:53 -07:00
Philipp Muens
aba4e09c7b
Merge pull request #6780 from drexler/mfa-pause
Pause for mfa input
2019-10-11 09:05:33 +02:00
Mariusz Nowak
050cb90684
Merge pull request #6814 from serverless/improve-plugins-load
Improve plugins resolution and initialization flow
2019-10-10 06:23:44 -05:00
Mariusz Nowak
4d9006bcdf
Merge pull request #6808 from kdnakt/variables-add-question
Make question mark available as variables fallback
2019-10-10 06:01:36 -05:00
Philipp Muens
03fe15d11c Run Prettier 2019-10-10 12:48:42 +02:00
Philipp Muens
c3ce4280b1 Run Prettier 2019-10-10 12:40:57 +02:00
drexler
8f5d59987c test: update cover test 2019-10-10 06:34:53 -04:00
drexler
e8f6026566 fix: remove unneeded validation check 2019-10-10 06:34:41 -04:00
Mariusz Nowak
07726b6be8
Require all plugins before their initialization.
It allows to exit early on initialization errors, and provides means to customize core plugins by service plugin before they're initialized
2019-10-10 09:18:36 +02:00
Mariusz Nowak
a299ec7ce9
Remove obsolete lint instruction 2019-10-10 09:11:08 +02:00
Doug Moscrop
0fe004e942 allow empty arrays in overrides 2019-10-09 18:44:41 -04:00
Mariusz Nowak
529a3459fd
Resolve local plugins withough hacking module.paths 2019-10-09 17:19:10 +02:00
Mariusz Nowak
69b2b65f2d
Expose output in case of test crash 2019-10-09 17:16:59 +02:00
Mariusz Nowak
8ae73e36fd
Improve servicePath handling 2019-10-09 17:16:58 +02:00
Mariusz Nowak
a62f15f661
Ensure to statically require core plugins 2019-10-09 17:16:58 +02:00
Mariusz Nowak
40ea32f44b
Pass already required plugins to loadPlugins method 2019-10-09 17:16:58 +02:00
Mariusz Nowak
c68c085290
Improve tests 2019-10-09 17:16:57 +02:00
Tharun
60bc9a65b6 formatted log message 2019-10-09 12:18:53 +05:30
Tharun
2d679df9c2 Added logging under cli for openwhisk-nodejs 2019-10-09 12:14:02 +05:30
kdnakt
12cad14dce Make question mark available as variables fallback 2019-10-09 09:10:32 +09:00
Philipp Muens
36d3f01a9c
Merge pull request #6779 from jessedoyle/s3-deployment-block-public
S3 Block Public Access
2019-10-08 15:09:34 +02:00
Philipp Muens
01f5c6f9a6
Merge pull request #6790 from wenindoubt/deploy-docs
Update SLS Deploy Documentation
2019-10-08 12:14:44 +02:00
Philipp Muens
7d728e509f Update error message 2019-10-08 12:03:59 +02:00
Lasantha Kularatne
c11c9efe21 Issue 4867 - Allowing InvokeBridge to find handleRequest method from super classes 2019-10-04 14:15:29 -05:00
Jesse Doyle
f1c768c42b
S3 Block Public Access
* Add a new boolean property named `blockPublicAccess`to the
  `deploymentBucket` config object for the AWS provider.
* The property defaults to `false` to retain backwords
  compatibility with existing infrastructure.
* When `true`, the configuration property will enable the
  [S3 Block Public Access][1]. This will prevent all future
  policies or ACLs that may grant public access to the
  deployment bucket.
* Update the serverless.yml reference docs to reflect the
  addition.

[1]: https://aws.amazon.com/blogs/aws/amazon-s3-block-public-access-another-layer-of-protection-for-your-accounts-and-buckets/

resolves: https://github.com/serverless/serverless/issues/6706
2019-10-01 22:21:10 -06:00
Jack Danger
4ad1ded244 Allow specifying ApiGateway logs role ARN
Since #6531 improved how we manage API Gateway's CloudWatch log IAM role
it's now simpler to allow hardcoding a role ARN in the YAML config.

This addresses [this
comment](https://github.com/serverless/serverless/pull/6591#discussion_r321010087)
and unblocks anyone who needs to keep the IAM permissions for an app
scoped to just that app.

Example usage:

    provider:
      name: aws
      logs:
        restApi:
          role:
            arn:aws:iam::123456789:role/a-service-with-all-necessary-permissions
2019-09-26 15:32:46 -07:00
NomadBlacky
402c3ba3d4 Update dependencies in aws-scala-sbt template 2019-09-26 00:54:41 +09:00
Philipp Muens
975040b6ef
Merge pull request #6746 from JackDanger/jackdanger/fixing-typos-in-variable-names
Fixing typos in variable names
2019-09-25 13:32:03 +02:00
Mariusz Nowak
fb00a657a0
Reduce timeout to 1500 2019-09-25 12:04:48 +02:00
Mariusz Nowak
55f3aeff22
Log stats request time 2019-09-25 12:04:28 +02:00
Mariusz Nowak
d9b22ed0bf
Log if stats request prolonged process exit 2019-09-25 12:00:36 +02:00
Mariusz Nowak
ece6fe61e9
Improve comment 2019-09-25 11:22:29 +02:00
Mariusz Nowak
112dd9c07c
Improve error logging 2019-09-25 10:45:28 +02:00