Skip to content

Commit

Permalink
Clarifications re blueprints and file lookups. (#706)
Browse files Browse the repository at this point in the history
  • Loading branch information
rgitzel authored and phobologic committed Mar 6, 2019
1 parent a1ed87a commit 22e62f1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
7 changes: 5 additions & 2 deletions docs/blueprints.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@
Blueprints
==========

Blueprints are python classes that build CloudFormation templates.
Traditionally these are built using troposphere_, but that is not absolutely
Blueprints are python classes that dynamically build CloudFormation templates. Where
you would specify a raw Cloudformation template in a stack using the ``template_path`` key,
you instead specify a blueprint python file using the ``class_path`` key.

Traditionally blueprints are built using troposphere_, but that is not absolutely
necessary. You are encouraged to check out the library of publicly shared
Blueprints in the stacker_blueprints_ package.

Expand Down
2 changes: 1 addition & 1 deletion docs/config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ The keyword is a list of dictionaries with the following keys:
the python import path to the hook
**data_key:**
If set, and the hook returns data (a dictionary), the results will be stored
in the context.hook_data with the data_key as it's key.
in the context.hook_data with the data_key as its key.
**required:**
whether to stop execution if the hook fails
**enabled:**
Expand Down
3 changes: 2 additions & 1 deletion docs/lookups.rst
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,8 @@ Basic examples::
conf_key: aGVsbG8gdGhlcmUK

Supported codecs:
- plain
- plain - load the contents of the file untouched. This is the only codec that should be used
with raw Cloudformation templates (the other codecs are intended for blueprints).
- base64 - encode the plain text file at the given path with base64 prior
to returning it
- parameterized - the same as plain, but additionally supports
Expand Down

0 comments on commit 22e62f1

Please sign in to comment.