30 Commits

Author SHA1 Message Date
Eslam λ Hefnawy
12649689d4 fix typo in s3 variables docs 2017-09-01 21:16:02 +07:00
Loren Gordon
6e9df9f3b2 Corrects the custom variableSyntax example 2017-08-28 08:50:45 -04:00
Philipp Muens
78242ab75c Merge pull request #4097 from tobyhede/4072-allow-strings-as-default-values
Allow use of string as default values in variables
2017-08-21 14:06:03 +02:00
Philipp Muens
f8787d4289 Minor fixes 2017-08-21 13:35:04 +02:00
Philipp Muens
f2c1148f48 Update documentation 2017-08-21 13:24:15 +02:00
Philipp Muens
701187bc59 Update all variableSyntax usages 2017-08-21 13:11:29 +02:00
Philipp Muens
996b21f5e3 Minor fixes 2017-08-21 12:48:18 +02:00
Seth
1b9f0bde54 fixes #3379 update docs for Azure, Google and OpenWhisk around variables in YAML or JSON files. Add Array examples for variables 2017-08-03 12:50:42 +10:00
Seth
6a4aa3c8d3 Fixes #3379 2017-08-02 19:07:01 +10:00
Jaik Dean
c33c4f782a Update example alternate variable syntax to work with loading files 2017-07-06 16:42:08 +01:00
Philipp Muens
fbbfb96c1b Add documentation 2017-07-05 11:11:27 +02:00
Ryan Lewis
458b044955 updating docs for missing markdown 2017-05-24 15:06:22 -07:00
Eslam λ Hefnawy
ddb99af627 Merge pull request #3592 from aoskotsky-amplify/master
Add support for S3 variables
2017-05-18 21:28:02 +07:00
Philipp Muens
e45e470465 Rephrase note about Serverless env variable usage 2017-05-17 12:43:37 +02:00
Alex Oskotsky
2945880e68 Add support for S3 variables 2017-05-10 23:31:43 -04:00
Eslam A. Hefnawy
f7b26a492c added cross service communication feature via cf variable source 2017-05-09 19:04:30 +07:00
Eslam A. Hefnawy
9b10da6dc8 fixed all unit tests 2017-05-05 00:36:32 +07:00
Eslam A. Hefnawy
bd33c98e7f fixed variables tests 2017-05-03 22:23:25 +07:00
Philipp Muens
bfb67aadde Minor typo fixes / cleanup 2017-03-01 09:17:10 +01:00
Erik Erikson
93c7afb3f5 Resolve PR Comments
1. Improve wording of documentation.  Note the concrete object that will be written in its entirety
2. Expand documentation.  Note a potential security risk for secrets
3. Move, without changes, the `warnIfNotFound` method because it was putting space between `getValueFromSource` and the various source type specific functions it uses
4. Implement unit tests for `warnIfNotFound`
5. Implement unit tests for `logWarning`
2017-02-10 18:31:02 -08:00
Erik Erikson
b936492af1 Allow for Top Level References & Commit Comments
1. Newly allow `${opt:}` and `${env:}` as a valid reference to the root of the option and environment settings hive, respectively
2. Write a test ensuring the above
3. Document the new capability
4. Eliminate a silly through-${self:} use example
5. Allow for the use of populateProperty in a not-in-place manner
6. Allow for the valid (albeit odd) valueToPopulate[''] case
2017-02-08 14:05:36 -08:00
Erik Erikson
230f37f4a4 Allow for Self-Reference
1. Newly allow '${self:}' as a valid reference to the current serverless.yml's root
  a. This allows for a more clean manner of passing names and identifiers around between projects.  Particularly, this facilitates exporting values from projects so they can be used in other projects via Fn::ImportValue.
2. Write a test ensuring the above
3. Document the new capability

Example usage: https://github.com/Nordstrom/hello-retail/pull/26/files
2017-02-07 19:19:30 -08:00
Philipp Muens
fe16e8a0b1 Fix typos in variables guide 2016-12-23 11:30:56 +01:00
Eslam λ Hefnawy
5f5c5e6073 added note about variables in values 2016-12-20 00:30:22 +07:00
Nick den Engelsman
6f17c09ed9 Update variables.md 2016-12-01 10:42:31 +01:00
davidwells
e13001fbe7 update doc readability 2016-11-17 15:41:57 -08:00
Austen
680409ed4a add example to return obj and reference obj property 2016-11-08 06:47:33 -08:00
ac360
16aa2c4072 add docs 2016-11-06 23:11:56 -08:00
davidwells
bd1c8692c8 update doc links 2016-10-24 19:11:37 -07:00
ac360
06af417f7b refactor documentation 2016-10-24 18:51:07 -07:00