Itay Maman
06e4a1fdb5
test error message: 'not an array'
2016-11-18 09:39:08 +02:00
Itay Maman
f1eacc96ae
change the text of the failure message
2016-11-18 09:31:25 +02:00
Itay Maman
81f2bcc3a0
linting
2016-11-17 22:55:24 +02:00
Itay Maman
65c5a7d870
iterate over properties
2016-11-17 22:49:09 +02:00
Itay Maman
e963bd4523
check all three fields
2016-11-17 20:22:28 +02:00
Eslam A. Hefnawy
ad2117423b
limited lambda permissions for events
2016-11-17 18:38:33 +07:00
Itay Maman
10d2539c42
make it pass by adding a check that iamRoleStatements is an array
2016-11-17 08:19:54 +02:00
Itay Maman
a73030eb6f
add a failing test for (lack of) arrayness
2016-11-17 08:19:46 +02:00
Eslam A. Hefnawy
91fa043ecc
limited permissions for s3, sns and apig
2016-11-16 16:08:21 +07:00
Erik Erikson
749204d962
Logical IDs Centralization Missed Details
...
A few places where names had been hard coded were missed in #2679 . This pull request attempts to get the rest of these (although I fear a few more exist).
The hard coding of the logical ids for the role and policy were removed from the json files defining those values.
Additionally, the path and name of the default role and policy were extrapolated as were log group and api gateway names.
The new role path, role name, and policy name values were used to amend the static role and policy.
Commentary in the centralization file was re-added.
Tests were updated
No function or documentation changes occurred by these changes
2016-11-15 17:22:59 -08:00
Nik Graf
386d9d6718
replace ellipsis with three dots to improve non-unicode console support
2016-11-15 14:00:27 +01:00
Eetu Tuomala
d69cdbc569
adds test to check that aws sdk is not called with --noDeploy
2016-11-14 15:22:50 +02:00
Eetu Tuomala
97a3a74831
removes awsRequesStub from test and passes noDeploy to resolve
2016-11-14 15:22:50 +02:00
Eetu Tuomala
50d57d7977
enables offline deployment package creation
2016-11-14 15:22:50 +02:00
Eslam A. Hefnawy
fef9b68e5a
refactored naming-js method naming
2016-11-10 19:05:02 +07:00
Eslam A. Hefnawy
1a02e15d9b
updated tests using name-js
2016-11-10 15:14:33 +07:00
Eslam A. Hefnawy
61efd35850
added logical id names in naming-js file
2016-11-09 19:31:08 +07:00
Eslam λ Hefnawy
d6a4eed879
Merge pull request #2567 from kbariotis/add-input-inputpath-support
...
add input, inputPath variable, resolves #2543
2016-11-08 22:43:18 +07:00
Philipp Muens
f7b54cfb5f
Move method.js file into method directory
2016-11-08 14:27:43 +01:00
Philipp Muens
e981d41488
Refactor method used for capitalization of strings
2016-11-08 14:04:52 +01:00
Doug Moscrop
8ba2f19a3a
refactor apiGateway resources and methods
2016-11-08 14:04:52 +01:00
Philipp Muens
33c05f53a2
Add tests for stream events to not error out when default policy is not present
2016-11-08 08:16:03 +01:00
Luciano Mammino
856189fa94
Using single quotes on empty strings
2016-11-07 23:36:47 +00:00
Philipp Muens
062783156c
Merge branch 'master' into add-custom-per-function-roles
2016-11-07 15:29:57 +01:00
Philipp Muens
e76706fb6e
Check if default policy is available when merging PolicyDocument statements for streams
2016-11-07 15:29:47 +01:00
Kostas Bariotis
da9b3459c6
add conditions inside string templates for templates
2016-11-06 18:36:42 +02:00
horike37
c13c97b691
fix conflict and test separete
2016-11-05 15:38:04 +09:00
Philipp Muens
5ad10516d2
Merge branch 'master' into add-custom-per-function-roles
2016-11-04 13:36:15 +01:00
Philipp Muens
f3c478b50b
Remove iamRoleARN support
2016-11-04 13:25:11 +01:00
Kostas Bariotis
c5844f642d
change error description
2016-11-03 12:25:22 +02:00
Maciej Winnicki
5b9f48f2e2
use calledWithExactly
2016-11-03 10:58:08 +01:00
Philipp Muens
305670f012
Merge branch 'master' into add-custom-per-function-roles
2016-11-03 09:52:36 +01:00
Maciej Winnicki
b16b66dced
add tests for showing artifact size
2016-11-02 17:58:39 +01:00
Philipp Muens
1b1a6c02b1
Refactor mergeIamTemplates tests
2016-11-02 16:18:00 +01:00
Eslam λ Hefnawy
5dd2e19b90
Merge pull request #2591 from serverless/show-file-size-deploy
...
show package file size during deploy
2016-11-02 21:07:24 +07:00
Maciej Winnicki
292410c51d
show package file size during deploy
2016-11-02 11:41:10 +01:00
horike37
cf441a4dbc
fixed the bug resultTtlInSeconds defaults to 300 when set to 0
2016-11-02 08:47:56 +09:00
Philipp Muens
4b5d2b1c1d
Fix linting errors
2016-11-01 15:04:28 +01:00
Philipp Muens
c2c67b9d05
Fix failing tests
2016-11-01 15:00:16 +01:00
Philipp Muens
6188569238
Minor code style updates
2016-11-01 14:53:52 +01:00
Philipp Muens
fddc4db04f
Merge branch 'master' into add-custom-per-function-roles
2016-11-01 14:43:21 +01:00
Kostas Bariotis
31383d96aa
throw an error when both Input and InputPath varialbes are set
2016-11-01 14:22:36 +02:00
Doug Moscrop
ab4e5d464a
refactor apiGateway authorizers and permissions
2016-10-31 12:04:05 -04:00
Philipp Muens
31cae71158
Fix regex linting errors
2016-10-31 09:08:50 +01:00
Kostas Bariotis
e3750e6400
support for nested Input objects
2016-10-30 11:08:03 +02:00
Kostas Bariotis
60b4fd5c27
pass linter
2016-10-28 19:07:54 +03:00
Kostas Bariotis
46b122edc2
add input, inputPath variable, resolves #2543
2016-10-28 18:41:38 +03:00
Maciej Winnicki
673a9ef959
Merge branch 'issue_2011' of https://github.com/andymac4182/serverless into andymac4182-issue_2011
...
Conflicts:
lib/plugins/aws/deploy/index.js
lib/plugins/aws/deploy/lib/cleanupS3Bucket.js
lib/plugins/aws/deploy/tests/index.js
2016-10-28 11:26:01 +02:00
Eslam λ Hefnawy
ee35b09cf7
Merge pull request #2507 from LightmakerCanada/fix-for-2474
...
fix AWS event stream deploy fails if name contains underscore
2016-10-26 20:35:16 +07:00
John McKim
ff0ded2c0d
Skip IAM resources if there are no functions
2016-10-25 06:51:15 +10:00