1144 Commits

Author SHA1 Message Date
Florian Motlik
fb4d27d4b4 Merge pull request #2274 from mallzee/cors-lambda-proxy-docs
docs(CORS): Reminder to set CORS headers in code when using lambda-proxy
2016-10-07 16:20:10 +02: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
Ashley
4a173907a4 Update 03-deploying-services.md
These proposed changes aim to make the docs more user-friendly and direct.
2016-10-07 08:17:59 -04:00
Philipp Muens
35f163dfd8 Update documentation for http event usage 2016-10-06 13:33:20 -07:00
Philipp Muens
5f48d56f7d Add and update documentation 2016-10-05 12:53:14 -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
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
Philipp Muens
9ebf296762 Merge pull request #2194 from craftship/globs-exclude
Use Globs to Exclude Files
2016-10-03 15:09:46 -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
a168653247
added documentation for deploy command 2016-10-03 12:59:21 +02:00
Sander van de Graaf
6a6500f20c
added documentation 2016-10-03 12:57:00 +02:00
Jon Sharratt
ee494f5d20 update packaging docs for glob ability 2016-10-01 11:11:36 +01: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
Philipp Muens
6bf6df55dd Merge pull request #2232 from alexanderbh/patch-1
Updated docs: Changed the RestApiId logical name
2016-09-29 18:29:36 -07:00
Florian Motlik
e1adf6e921 Merge pull request #2175 from serverless/fix-api-key-value-displaying-in-info-plugin
Fix api key value displaying in info plugin
2016-09-28 16:03:21 +02: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
David Wells
3d6f22fb47 Remove broken link 2016-09-27 10:09:03 -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
Eslam λ Hefnawy
aaf09915d9 Merge pull request #2172 from andymac4182/issue_2171
Remove reference to `readme.md` to help fix links
2016-09-26 21:43:26 +07:00
Florian Motlik
47b9ec5f1e Add Var/Dash description to docs for APIG Resources 2016-09-26 13:49:20 +02:00
Philipp Muens
a2e6c59853 Update info documentation and add api keys example to it 2016-09-26 10:45:03 +02:00
Florian Motlik
244dd8092a Add --name docs 2016-09-23 18:14:44 +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
Philipp Muens
236d66c8b3 Update docs for tracking to point to the code of the (evolving) track() method
Instead of listing all the stuff we track (which will get outdated pretty quick).
2016-09-20 09:08:47 +02:00
Florian Motlik
7e7dcc4923 Merge pull request #2138 from danielkoo/serverless-#2016-wip
- ensure the Create/Update CloudFormation templates are always written to disk, even if the noDeploy option was not specified
2016-09-19 16:22:27 +02:00
Florian Motlik
f817933909 Merge pull request #2162 from serverless/add-docs-for-custom-validations-in-plugin-options
Add docs for custom validations in plugin options
2016-09-19 12:56:10 +02:00
Philipp Muens
17e7dfdd77 Add docs for custom validations in plugin options 2016-09-19 11:52:00 +02: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
9ca532d7a2 Merge pull request #2149 from serverless/eahefnawy-patch-1
typo: update variable reference in docs
2016-09-16 14:06:41 +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
Eslam λ Hefnawy
22e74bfac9 update variable reference in docs 2016-09-16 20:48:17 +09:00
Daniel Koo
296810c8b3 - ensure the Create/Update CloudFormation templates are always written to disk, even if the noDeploy option was not specified
- using ES6 arrow functions
- added tests
- added to the documentation
2016-09-16 09:58:05 +10:00
Philipp Muens
9699667cc0 Merge pull request #2079 from serverless/api-keys-output
Added API Keys to info plugin
2016-09-15 13:40:42 +02:00
Marcus Whybrow
b1ed2dd420 Match endpoint path to example 2016-09-15 02:41:09 +01:00
Eslam λ Hefnawy
eba1f98ab2 s3 events docs typo 2016-09-14 17:36:08 +09:00
Dax Chen
54192f592a Fix YML example code: strings should be quoted
In YML, strings containing :, {, }, [, ], ,, &, *, #, ?, |, -, <, >, =, !, %, @, ` must be quoted.
Without the quotes, deployments will fail at `AWS::ApiGateway::Method` step.
I've been trying to use the custom request template after upgrading to v1.0, and finally found the correct syntax, lol.
Let me know if any correction is needed, and if more/less examples are preferred.
2016-09-14 15:36:16 +08:00
davidwells
aaf63e25e4 update path for docs site 2016-09-13 14:31:39 -07:00
davidwells
a7d371924d add syntax highlighting 2016-09-13 14:31:29 -07:00
davidwells
b3a6b5a46f update links 2016-09-13 12:51:54 -07:00
davidwells
82b8d51565 fix link 2016-09-13 12:24:57 -07:00