Skip to content

Commit

Permalink
📚 add a use case: template from a s3 bucket
Browse files Browse the repository at this point in the history
  • Loading branch information
chfw committed Aug 16, 2019
1 parent 20f9da0 commit ec7c611
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,20 @@ moban.output will contain::

world

Or in a complex way

.. code-block:: bash
$ moban -c s3://${client_id}:${client_secrect}@moremoban/s3data.yml -o 'zip://my.zip!/moban.output' {{hello}}
$ unzip my.zip
$ cat moban.output
world$
Where the configuration sits in a s3 bucket, the output is a file in a zip. The content of s3data.yaml is::

hello: world


Please note that data.yml will take precedence over environment variables.

`the tutorial`_ has more use cases.
Expand Down

0 comments on commit ec7c611

Please sign in to comment.