563 Commits

Author SHA1 Message Date
Nik Graf
3b3fddd39a add findAndGroupStacks util 2016-10-18 15:40:24 +02:00
Nik Graf
e8fd6ff943 show hint in case no stacks are found and add tests 2016-10-18 15:37:59 +02:00
Nik Graf
921ee16369 add listing deployed stacks 2016-10-18 15:37:43 +02:00
Nik Graf
b2a9bb427e fix linting 2016-10-18 13:48:00 +02:00
Nik Graf
9c4f04f862 always return an array for cleanupS3Bucket and fix test suite 2016-10-18 13:38:17 +02:00
Nik Graf
987b4f4969 add tests to all 2016-10-18 13:31:52 +02:00
Nik Graf
ecf3a45cd1 fix cleaning up s3 buckets 2016-10-18 13:31:27 +02:00
Nik Graf
3f3a265554 add util function to create s3Objects out of stacks 2016-10-18 13:30:41 +02:00
Nik Graf
78043dc9d3 add util function to find and group stacks 2016-10-18 13:30:05 +02:00
Matt Mankins
c03e2a87dd add ability for functions to override runtime to have multi-language services 2016-10-17 18:46:12 -04:00
Erik Erikson
8dbbb596fe Merge branch 'master' into add-per-function-custom-roles
# Conflicts:
#	docs/02-providers/aws/02-iam.md
2016-10-17 10:43:07 -07:00
Florian Motlik
f517b389f4 Merge pull request #2014 from mallzee/custom-codes-support
Custom status codes support
2016-10-14 12:25:41 +02:00
Andrew McClenaghan
da2a5ef914 Fix test ordering 2016-10-13 17:14:24 +10:00
Andrew McClenaghan
55ccc03bfa Clean up S3 bucket after a successful deploy instead of before to allow stacks to rollback successfully after multiple fails 2016-10-13 17:14:24 +10:00
WooDzu
2a9ae98325 default stack tags should be extended instead of replaced 2016-10-13 08:41:32 +02:00
WooDzu
c47ce0827a fix linting errors 2016-10-13 07:44:13 +02:00
WooDzu
73074ed8f6 Implement custom Stack Tags and Policy #1956 2016-10-13 07:39:57 +02:00
Philipp Muens
a7a04eb6f6 Closes #2292 - Remove outdated README.md files 2016-10-11 20:21:27 -07:00
Jamie Sutherland
3f96c0d770 refactor(methods): Request parameters 2016-10-11 13:48:24 +01:00
Jamie Sutherland
d3c5d37230 feat(methods): Add multiple response templates per content type 2016-10-11 13:05:12 +01:00
Jamie Sutherland
27bbbb912b fix(methods): Add default 200 code if one is not supplied 2016-10-11 13:05:12 +01:00
Jamie Sutherland
5c0050d1a0 fix(methods): CORS preflight retains origin and headers per path
closes #2024 #1960
2016-10-11 13:05:12 +01:00
Jamie Sutherland
87a0bd3b7e feat(methods): Add custom codes support 2016-10-11 13:05:12 +01:00
Philipp Muens
26b1ac9578 Merge pull request #2056 from svdgraaf/feature/method-parameters
Add parameters to http event
2016-10-10 11:06:04 -07:00
Sander van de Graaf
b1b5fae554
make eslint happy 2016-10-10 14:51:40 +02:00
Sander van de Graaf
52c92d8e3c
fixed test for request parameters 2016-10-10 10:18:21 +02:00
Eslam λ Hefnawy
2699cd8cbf Merge pull request #2271 from marcuswhybrow/patch-3
Correctly Escape Form URL Encoded Values
2016-10-10 14:43:43 +07:00
Sander van de Graaf
4ac6c330fb
fixed rebase with master 2016-10-10 09:28:38 +02:00
Erik Erikson
77ab041b24 Use options for Stage & Region 2016-10-07 16:19:28 -07:00
Philipp Muens
25b5d2af91 Update stream docs to be more explicit 2016-10-07 08:56:49 -07:00
Philipp Muens
af8688dfb2 Fix typo (batchSize) in docs 2016-10-07 08:43:39 -07:00
Philipp Muens
aaa1ef6fdc Remove non-alphanumeric characters in resource logical ids 2016-10-07 08:43:39 -07:00
Philipp Muens
d8859bf157 Update code so that the stream event source is service independent
This way both, DynamoDB and Kinesis streams can be used with the help of the
"stream" event rather than two different event types ("dynamodb" and "kinesis").
2016-10-07 08:43:39 -07:00
Philipp Muens
802517b5da Update resource logical id naming 2016-10-07 08:43:39 -07:00
Philipp Muens
239d9b31ad Add enable / disable support 2016-10-07 08:43:39 -07:00
Philipp Muens
c403a6de0d Add DependsOn "IamPolicyLambdaExecution" definition 2016-10-07 08:43:39 -07:00
Philipp Muens
f56a0a2c7b Update resource logical id so that it includes the table name 2016-10-07 08:43:39 -07:00
Philipp Muens
4ade196d9f Add AwsCompileDynamoDbEvents plugin 2016-10-07 08:43:39 -07:00
Marcus Whybrow
9e89979ec4 escape body keys and values in default template
Fixes #2270
2016-10-07 01:48:00 +01:00
Erik Erikson
05b3d512d4 Add CAPABILITY_NAMED_IAM to Update too 2016-10-06 13:35:59 -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
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
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