You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.rst
+10-8
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ AWS. However, writing CloudFormation templates in JSON format is not
45
45
human-friendly, which hinders developer productivity. Also, many parts
46
46
of a CloudFormation template are reusable among applications of the
47
47
same kind and CloudFormation does not provide a way to reuse
48
-
templates.
48
+
templates.
49
49
50
50
Senza addresses these problems by supporting CloudFormation
51
51
templates as YAML input and adding its own 'components' on
@@ -133,7 +133,7 @@ applications and versions:
133
133
134
134
$ senza list
135
135
$ senza l
136
-
136
+
137
137
138
138
Routing Traffic
139
139
---------------
@@ -164,15 +164,15 @@ To delete stacks that you're no longer using:
164
164
Bash Completion
165
165
---------------
166
166
167
-
Bash's programmable completion feature permits typing a partial command, then pressing the :kbd:`[Tab]` key to autocomplete the command sequence. If multiple completions are possible, then :kbd:`[Tab]` lists them all.
167
+
Bash's programmable completion feature permits typing a partial command, then pressing the ``[Tab]`` key to autocomplete the command sequence. If multiple completions are possible, then ``[Tab]`` lists them all.
168
168
169
169
To activate bash completion for the Senza CLI, just run:
170
170
171
171
.. code-block:: bash
172
172
173
173
$ eval"$(_SENZA_COMPLETE=source senza)"
174
174
175
-
Put the eval line into your :file:`.bashrc`:
175
+
Put the eval line into your ``.bashrc``:
176
176
177
177
.. code-block:: bash
178
178
@@ -193,6 +193,7 @@ The Senza CLI supports three different output formats:
193
193
194
194
JSON is best for handling the output programmatically via various languages or with `jq`_ (a command-line JSON processor). The text format is easy for humans to read, and "tsv" format works well with traditional Unix text processing tools like sed, grep, and awk:
@@ -218,7 +219,7 @@ A minimal Senza definition without any Senza components would look like:
218
219
**Tip**: Use ``senza init`` to quickly bootstrap a new Senza definition YAML for most common use cases (e.g. a web application).
219
220
220
221
The SenzaInfo Key
221
-
----------------
222
+
-----------------
222
223
223
224
The ``SenzaInfo`` key configures global Senza behavior and must always be present in the definition YAML. Available properties for the ``SenzaInfo`` section:
224
225
@@ -228,7 +229,7 @@ The ``SenzaInfo`` key configures global Senza behavior and must always be presen
228
229
Optional SNS topic name or ARN for CloudFormation notifications. As an example: You can use this to send notifications about deployments to a mailing list.
229
230
``Parameters``
230
231
Custom Senza definition parameters. Use to dynamically substitute variables in the CloudFormation template.
231
-
232
+
232
233
.. code-block:: yaml
233
234
234
235
# basic information for generating and executing this definition
@@ -286,6 +287,7 @@ You can also specify the parameters by name, which makes the Senza CLI more read
286
287
complex scenarios with sizeable number of parameters:
287
288
288
289
.. code-block:: bash
290
+
289
291
$ senza create example.yaml 3 example MintBucket=<mint-bucket> ImageVersion=latest
290
292
291
293
Here, the ``ApplicationId`` is given as a positional parameter. The two
@@ -356,7 +358,7 @@ Senza templates offer the following properties:
356
358
Mappings
357
359
================
358
360
359
-
Senza mappings are essentially key-value pairs, and behave just like `CloudFormation mappings <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/mappings-section-structure.html>`_. Use mappings for ``Images``, ``ServerSubnets`` or ``LoadBalancerSubnets``.
361
+
Senza mappings are essentially key-value pairs, and behave just like `CloudFormation mappings <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/mappings-section-structure.html>`_. Use mappings for ``Images``, ``ServerSubnets`` or ``LoadBalancerSubnets``.
Senza's **WeightedDnsElasticLoadBalancer** component type creates one HTTPs ELB resource with Route 53 weighted domains.
429
-
You can either auto-detect the SSL certificate name used by the ELB, or name it ``SSLCertificateId``. Specify the main domain (``MainDomain``) or the default Route53 hosted zone will apply.
431
+
You can either auto-detect the SSL certificate name used by the ELB, or name it ``SSLCertificateId``. Specify the main domain (``MainDomain``) or the default Route53 hosted zone will apply.
430
432
431
433
An internal load balancer is created by default, which differs from AWS's default behavior. To create an Internet-facing ELB, explicitly set the ``Scheme`` to ``internet-facing``.
0 commit comments