Erik Erikson
05b3d512d4
Add CAPABILITY_NAMED_IAM to Update too
2016-10-06 13:35:59 -07:00
Philipp Muens
3cc2fb7f30
Update serverless.yml files with a note about necessary handler changes
2016-10-06 13:18:10 -07:00
Philipp Muens
0991e4748a
Update handler files for Node.js and Python
2016-10-06 13:11:07 -07:00
Erik Erikson
09ab82131b
Break Apart Rights, Be Specific
...
Break the CreateLogStream and PutLogEvents rights apart from one another. Each of them requires a different resource reference since they reference the LogGroup and LogGroup's LogStream respectively (i.e. you are creating the resource in the first that the second is putting log events into).
2016-10-06 12:30:47 -07:00
Erik Erikson
3b4a5adbb5
Merge branch 'master' into reduce-scope-of-rights-of-default-iamlambdarole
2016-10-06 09:37:10 -07:00
Erik Erikson
a81e36bf6e
Add 'CAPABILITY_NAMED_IAM'
...
To the "createStack" call. This allows for custom named IAM resources to be created within the stack that is sent. I'm not sure that it won't create issues in some user's cases where they have very locked down rights.
2016-10-06 00:46:51 -07:00
Philipp Muens
60aff96d3a
Update aws-python handler file
2016-10-05 14:58:38 -07:00
Philipp Muens
7e2058e68e
Update aws-nodejs handler file
2016-10-05 14:57:53 -07:00
Philipp Muens
88cf6bd9ca
Remove yet unsupported code
2016-10-05 12:53:14 -07:00
Philipp Muens
f8ce285cf3
Add tests for download functionality
2016-10-05 12:53:14 -07:00
Philipp Muens
ce32e01e8d
Add tests
2016-10-05 12:53:14 -07:00
Philipp Muens
415e80be4e
Rebase / refactor current implementation
2016-10-05 12:53:14 -07:00
ac360
dbf39525e7
fix linting error
2016-10-05 12:53:14 -07:00
ac360
e50d2fe475
fix linting errors
2016-10-05 12:53:14 -07:00
ac360
1b99ea77ad
add tests
2016-10-05 12:53:14 -07:00
ac360
0986b7efa0
add install command
2016-10-05 12:53:14 -07:00
Erik Erikson
a5c316cb31
Merge Changes
...
The split of stack configuration and function compilation required a more in depth merge.
Commentary: it also creates strange interaction of the expectations and code across those two files.
2016-10-04 17:27:32 -07:00
Erik Erikson
2a5cbcc07e
Merge branch 'master' into reduce-scope-of-rights-of-default-iamlambdarole
...
# Conflicts:
# lib/plugins/aws/deploy/compile/functions/index.js
# lib/plugins/aws/deploy/compile/functions/tests/index.js
2016-10-04 16:25:44 -07:00
Erik Erikson
f03a51cddb
Merge branch 'master' into rebuild-credentials
...
# Conflicts:
# docs/02-providers/aws/01-setup.md
2016-10-04 15:34:54 -07:00
Erik Erikson
9a78d181ad
Merge Changes
2016-10-04 15:31:30 -07:00
Erik Erikson
97b22e6ee3
Merge branch 'master' into rebuild-credentials
...
# Conflicts:
# lib/plugins/aws/tests/index.js
2016-10-04 15:26:57 -07:00
Erik Erikson
a982989898
Collapse role & roleArn Down To role
...
1. Make changes
2. Change tests
3. Change Docs
2016-10-04 15:09:06 -07:00
Philipp Muens
8ba191a5d7
Update misleading comment
2016-10-04 13:53:02 -07:00
Philipp Muens
0e9ad41250
Remove resetting of request / response config and show a warning message instead
2016-10-04 13:53:02 -07:00
Philipp Muens
96537755b3
Update integrationResponses to be an array
2016-10-04 13:53:02 -07:00
Philipp Muens
2ebfd90893
Fix linting errors
2016-10-04 13:53:02 -07:00
Philipp Muens
0ea8ab732c
Make tests for config clearing when using AWS_PROXY more explicit
2016-10-04 13:53:02 -07:00
Philipp Muens
090aa52bf1
Reset / remove irrelevant configuration when AWS_PROXY is used
2016-10-04 13:53:02 -07:00
Philipp Muens
3b1eec6155
Add Lambda proxy functionality for API Gateway
2016-10-04 13:53:02 -07:00
Erik Erikson
bc321eafc5
Remove check protected by anyFunctionHasNoRole in configureStack
2016-10-04 13:25:17 -07:00
Erik Erikson
52c95c3b25
merge changes
2016-10-04 13:02:26 -07:00
Erik Erikson
91de87243e
Merge branch 'master' into add-per-function-custom-roles
...
# Conflicts:
# lib/plugins/aws/deploy/compile/functions/index.js
# lib/plugins/aws/deploy/compile/functions/tests/index.js
2016-10-04 09:45:31 -07:00
Philipp Muens
9ebf296762
Merge pull request #2194 from craftship/globs-exclude
...
Use Globs to Exclude Files
2016-10-03 15:09:46 -07:00
Eslam λ Hefnawy
7cef2e3895
Merge pull request #2245 from serverless/fix-promise-chain-in-deploy-function-plugin
...
Fix Promise chain in deployFunction plugin
2016-10-04 00:04:16 +07:00
David Tanner
4d34dfde44
Merge with master.
...
There was a merge issue with createStack
2016-10-03 09:11:15 -06:00
Eslam λ Hefnawy
ec3182985f
Merge pull request #2068 from medhoover/s3_event_rules
...
S3 event rules
2016-10-03 18:01:49 +07:00
Sander van de Graaf
3c15f0e04c
make eslint happy
2016-10-03 12:48:06 +02:00
Sander van de Graaf
f121d6c1ed
added --verbose option for info, which will add Stack Outputs to the output
2016-10-03 12:41:31 +02:00
Jon Sharratt
c32856abf7
reword yaml to yml in package README
2016-10-01 11:11:36 +01:00
Jon Sharratt
afa64a1423
remove include property from yml templates
2016-10-01 11:11:36 +01:00
Jon Sharratt
d05258516e
use sync instead for globbing
2016-10-01 11:11:36 +01:00
Jon Sharratt
e17e4e44cf
update readme for package plugin about globs
2016-10-01 11:11:36 +01:00
Jon Sharratt
204632b10e
throw glob errors
2016-10-01 11:11:36 +01:00
Jon Sharratt
2d748e3d76
include dot files and fix .serverless glob
2016-10-01 11:11:36 +01:00
Jon Sharratt
28c643ffe5
fix linting issues for zipService changes
2016-10-01 11:11:36 +01:00
Jon Sharratt
1735998160
use exclude as globs for zip file
2016-10-01 11:11:36 +01:00
Jon Sharratt
6861a6bdd1
remove passing of include through to package service
2016-10-01 11:11:36 +01:00
Philipp Muens
c1f10c9556
Fix Promise chain in deployFunction plugin
2016-09-30 15:09:47 -07:00
Philipp Muens
94792284c8
Merge pull request #2198 from zorrofox/master
...
fix : #1973 deploy fails with unhelpful error message when service name is not a valid CF stack name
2016-09-30 23:03:01 +02:00
Erik Erikson
df9a179bd7
Review Fixes
...
1. fix docs that would lead to an error for users via copy-paste
2. add tests about adding roleArn to functions given role declared on provider and/or function
3. fix bug discovered due to lack of tests
4. add test to ensure preference for function declared roleArn over provider declared roleArn
2016-09-30 11:47:33 -07:00