18 Commits

Author SHA1 Message Date
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