88 Commits

Author SHA1 Message Date
Kevin Tardif
b069e09e9f Updated logRetentionInDays checks 2019-08-19 13:35:06 -04:00
Kevin Tardif
a1d2f7d090 getLogRetentionInDays now returns null if config value is unset 2019-08-16 08:28:45 -04:00
Kevin Tardif
462c936e7c Set AWS API Gateway RetentionInDays to value of provider.logRetentionInDays 2019-08-15 10:22:44 -04:00
Ethan Smith
56d96c4afe
Only add merged IAM policies for Lambda when they will be used (#6262) 2019-08-13 13:12:37 -04:00
Mariusz Nowak
4944f471b1
Prettify 2019-06-26 12:43:01 +02:00
Mariusz Nowak
093881b6a5
Add code comments 2019-06-12 16:00:29 +02:00
Mariusz Nowak
025d58579e
Fix setup of IAM policies for functions with custom names 2019-06-12 15:55:01 +02:00
Mariusz Nowak
426393b2b3
Configure test exposing issue with custom function name
Related to #6236
2019-06-12 15:48:27 +02:00
Mariusz Nowak
6796ccf866
Ensure tests reflect more closely a real world 2019-06-12 15:38:16 +02:00
Mariusz Nowak
d417a0fc4e
Seclude canonicalFunctionNamePrefix var 2019-06-12 14:58:24 +02:00
Mariusz Nowak
490e714ccd
Obtain path to statements once 2019-06-12 14:53:18 +02:00
Edmundo Rodrigues
c393d4b22c feat(iam): use common prefix loggroup prefix to reduce size of iamRoleLambdaExecution to avoid reaching 10240 bytes limit 2019-06-05 17:33:35 -03:00
Philipp Muens
773e9af3c1 Thorough integration testing 2019-05-30 15:20:58 +02:00
Mariusz Nowak
0ea81b1e63
Ensure to return promise 2019-05-20 09:57:47 +02:00
Fabio Gollinucci
9d98dc6fe1 Fix tests 2019-04-17 20:49:08 +02:00
Philipp Muens
e1f09f3039
Revert "Fixed #4188 - Package generating incorrect package artifact path in serverless-state.json" 2019-03-18 11:12:25 +01:00
Philipp Muens
2a846cabb8 Add check for packageReference / Add tests 2019-03-07 14:44:13 +01:00
Philipp Muens
79598b2f74 Merge branch 'master' into fix-4188 2019-03-07 14:00:09 +01:00
Philipp Muens
e8ccc7afe6 Replace tagging of uploaded artifacts with resource tagging of bucket 2019-02-25 14:37:26 +01:00
Adrian Hesketh
2e85b52bce
Removed AWS S3 versioning and fixed build error for Node 4.4. 2019-02-06 17:07:30 +00:00
Adrian Hesketh
3ed18cfb89
Update bucket conf to default AES256 encryption and enable versioning. 2019-02-05 22:52:22 +00:00
Daniel Schep
00756dd266
Merge pull request #5562 from exoego/log-retenion-regression
Fix logRetentionInDays regression in AWS
2018-12-05 09:30:03 -05:00
exoego
f129894392 Fix lint error. 2018-12-05 20:13:27 +09:00
exoego
57ccc68567 Error message should show actual value. 2018-12-05 20:01:40 +09:00
exoego
da53934e6e Support logRetentionInDays given as string. 2018-12-05 19:59:03 +09:00
Daniel Schep
2ad01b3fe3 [WIP] Support for publishing Lambda Layers 2018-11-29 10:55:52 -05:00
weeniearms
b5da4d09ed Added possibility to specify custom S3 key prefix instead of the standard 'serverless' 2018-09-17 09:35:40 +02:00
Fabien Ruffin
a80340b99f Fixed #4188 - Package generating incorrect package artifact path in serverless-state.json 2018-09-15 22:41:20 +10:00
Doug Moscrop
8d9f4a296b only use json-cycles when opt-in, for state serialization 2018-06-06 15:07:03 -04:00
CHRIS BARBOUR
afcb511841 removed spread operator to support older versions 2018-04-05 16:22:53 -04:00
CHRIS BARBOUR
4e4de5e583 fixing linting issues 2018-04-05 16:07:37 -04:00
CHRIS BARBOUR
cc4dfca85f added test to verify that managed policies are merged along with vpc config policies 2018-04-05 15:22:54 -04:00
CHRIS BARBOUR
f1d3aecb63 closes #4876 merging iamManagedPolicies when using VPCConfig 2018-04-04 22:17:39 -04:00
Takahiro Horike
6cbd0a95bd
Merge pull request #4665 from americansystems/sls-govcloud
Support AWS GovCloud and China region deployments
2018-04-03 19:09:26 +09:00
CHRIS BARBOUR
0c8a569968 fixing location of ManagedPolicyArns to be under Properties 2018-03-21 21:51:35 +00:00
chrisbarbour
2d9f4a27d3 updating to use lodash 2018-03-13 08:22:20 +00:00
bobjamin
d9f7454339 adding semicolons for linter 2018-03-02 10:49:46 +00:00
bobjamin
e492e744a9 added iam managed policies to aws provider closes #3751 2018-03-02 10:33:35 +00:00
Mike Pugh
3af17717d7 Fix managed lambda vpc access exec role, update readability of awsProvider partition detection 2018-01-26 10:47:29 -05:00
Mike Pugh
2e925af0b4 Fixing lint errors 2018-01-19 17:49:37 -05:00
Mike Pugh
113ec4cceb Updae tests 2018-01-19 14:59:49 -05:00
Mike Pugh
16debac62e Replace AWS Partition strings with CF Pseudo Param or from STS 2018-01-19 13:52:29 -05:00
Mike Pugh
3bc45becc9 Support GovCloud and China region deployments 2018-01-18 10:04:11 -05:00
Alex Casalboni
407b0f06e6 BbPromise.reject instead of throwing error 2018-01-08 15:03:41 +01:00
Alex Casalboni
c720018125 test typo 2018-01-07 17:38:43 +01:00
Alex Casalboni
1aee4b8240 updated tests (100% file coverage) 2018-01-07 17:30:18 +01:00
Alex Casalboni
a9b82e538c Added new no-aws-s3-accelerate argument to explicitly disable S3 Transfer Acceleration (updated doc too) 2018-01-07 17:29:54 +01:00
Alex Casalboni
4de092c092 not setting 'Suspended' acceleration by default (permission would be required!) 2018-01-07 16:37:23 +01:00
Takahiro Horike
890c042fbd Add logRetentionInDays property to provider level (#4591)
* add logRetentionInDays property

* update test and improve code

* minor tweak

* add logRetentionInDays property

update test and improve code

minor tweak
2017-12-25 13:47:00 +01:00
Erik Erikson
ca5ba8daac Remove unused parameters in platform.js (and deal with consequences)
Add explicit use of options where they were defined.
2017-12-12 11:59:08 -08:00