87 Commits

Author SHA1 Message Date
Maciej Winnicki
ff990f3aa1
migrate to lambda-proxy integration type 2016-10-13 12:37:10 +02:00
Maciej Winnicki
e43d3abcc4
update readme 2016-10-13 12:18:02 +02:00
Maciej Winnicki
036a860827
Merge branch 'master' into static-html-example 2016-10-13 12:14:53 +02:00
Maciej Winnicki
d2a634e20a
fix lint errors in examples 2016-10-12 12:06:40 +02:00
Maciej Winnicki
c9bc0b2e66
add external library Node.js example 2016-10-12 11:18:18 +02:00
Florian Motlik
fd561ed96a Merge pull request #2318 from serverless/v0-v1-docs
Add comparison between 0.x and 1.x
2016-10-12 08:24:35 +02:00
Maciej Winnicki
26ca9ff902
Merge branch 'master' into cron-example 2016-10-11 22:33:49 +02:00
Maciej Winnicki
690e5e9c9c
fix lint 2016-10-11 22:33:24 +02:00
Florian Motlik
c18ffe2aa5 Add serverless.yml reference 2016-10-11 22:25:18 +02:00
Maciej Winnicki
9d001e2178
add link to schedule docs 2016-10-11 22:19:08 +02:00
Florian Motlik
aaa1f29e42 Merge pull request #2305 from serverless/cron-example
add schedule cron example
2016-10-11 22:11:39 +02:00
David Wells
d9b25770a6 Update README.md 2016-10-11 11:54:57 -07:00
Florian Motlik
dcb30fb139 Merge pull request #2299 from serverless/fix-wrong-status-code-in-api-gateway-readme
Fix wrong statusCode in API Gateway README
2016-10-11 14:34:04 +02:00
Florian Motlik
24b7f216d8 Merge pull request #2295 from erikerikson/clarify-aws-setup-docs
Clarify Quick Setup Docs
2016-10-11 14:26:13 +02:00
davidwells
c3e31ca449 add cron example 2016-10-11 00:46:56 -07:00
davidwells
8438f1047c add static html example 2016-10-10 18:38:13 -07:00
Philipp Muens
3aa2c7aa62 Fix wrong statusCode in API Gateway README 2016-10-10 17:00:44 -07:00
Erik Erikson
c459961b0b Review Followup
`vars` => `custom`
remote "Et Cetera" and empty line
2016-10-10 15:58:41 -07:00
Erik Erikson
d175e1ad43 Clarify Quick Setup Docs
Add quick profile use command and redirect to continue the guided first-use process
2016-10-10 15:15:40 -07: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
Florian Motlik
86c2477065 Merge pull request #2229 from erikerikson/rebuild-credentials
Rebuild Credential Handling
2016-10-10 18:30:39 +02:00
Sander van de Graaf
6db798031e
added lambda integration notion 2016-10-10 09:48:13 +02:00
Sander van de Graaf
4ac6c330fb
fixed rebase with master 2016-10-10 09:28:38 +02:00
Sander van de Graaf
1b1ce334e7
added documentation describing how to use the path variables 2016-10-10 09:20:58 +02: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
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
2c5e0c94e5 Update resource name references docs 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
4ade196d9f Add AwsCompileDynamoDbEvents plugin 2016-10-07 08:43:39 -07:00
Jamie Sutherland
32c4fb2df3 docs(CORS): Reminder to set CORS headers in code when using lambda-proxy integration 2016-10-07 15:06:49 +01: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
Philipp Muens
2c9c6d2a31 Add documentation for the different integration types 2016-10-04 13:53:02 -07:00
Bas Kok
4dbe45d8f0 fix link to variables page 2016-10-04 13:51:02 +02: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
Marcus Whybrow
6c3e5d8b4e [DOCS] Fix AWS::ApiGateway::Method format
According to the AWS docs `ResourceId` and `RestApiId` should be members of `Properties`
2016-09-30 10:24:37 +01:00
Philipp Muens
7d63e439a0 Merge pull request #2128 from DaxChen/patch-1
[DOCS] Fix docs example code in YML: strings should be quoted
2016-09-29 18:54:29 -07:00
Alexander Hansen
5d07e285d5 Updated docs: Changed the RestApiId logical name
This was changed in commit:
a5e3c31974

But not changed in the docs.
2016-09-28 10:10:47 +02:00
Erik Erikson
2cfd611329 Rebuild Credential Handling
(scoped to AWS)
Previously you had a number of options, including legacy options for loading credentials.  Given the 0.x=>1.x change, we can drop a lot of the old approaches.  This PR attempts to bring all the good things.

The options for loading credentials are as follows:
1. define credentials on serverless.yml=>service.provider.credentials = { accessKeyId: 'accessKeyId', secretAccessKey: 'secretAccessKey', sessionToken: 'sessionToken' }
2. define a profile from which to get credentials on serverless.yml=>service.provider.profile = 'profile-name' (all profiles loaded using AWS.SharedIniFileCredentials, see http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/SharedIniFileCredentials.html)
3. define credentials for all stages using the standard AWS environment variables (see http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/EnvironmentCredentials.html)
4. define a profile for all stages using the environment variable AWS_PROFILE
5. define credentials for each stage using the standard AWS environment variables with the STAGE name inserted (e.g. stage='test', envVarName='AWS_TEST_*')
6. define a profile for each stage using an environment variable `AWS_${stageName.toUpperCase()}_PROFILE`

If credentials/profiles are declared in multiple ways, the later cases will override the former.

These use cases previously covered all user requirements but the current implemenation allows for an expansion of mechanisms if more mechanisms are desirable.
2016-09-27 16:08:00 -07:00
Florian Motlik
9f22e4c4da Merge pull request #2201 from serverless/var-cf-name
Add Var at the end of path variable CF name
2016-09-26 17:14:00 +02:00
Florian Motlik
47b9ec5f1e Add Var/Dash description to docs for APIG Resources 2016-09-26 13:49:20 +02:00
David Tanner
d490ed413e Rename to deploymentBucket as recommended by @flomotlik 2016-09-23 08:18:33 -06:00
David Tanner
66525f259e Deploy by service and stage.
Check that the bucket exists before, and that it is in the correct stage
2016-09-22 10:24:35 -06:00
David Tanner
a425967654 Add a bucket to the provider for deployments.
Also prefix deployments so they can co-exist with other files
2016-09-22 05:35:29 -06:00
Andrew McClenaghan
352a151f0e Remove reference to readme.md to help fix links in https://serverless.com/framework/docs/ 2016-09-21 12:09:45 +10:00
Andrew McClenaghan
bb848f7553 Add to documentation 2016-09-17 22:30:10 +10:00
Nicolas Grenié
28eee3f3a3 Update broken link to Next Step
Broken link updated to corresponding file
2016-09-16 16:48:31 +02:00
Florian Motlik
07a22d0702 Merge pull request #2015 from rowanu/aws-provider-profile
Support provider > profile and profile per stage
2016-09-16 14:05:41 +02:00
rowan
453118fce4 Fix typo. 2016-09-16 22:00:51 +10:00