Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Commit

Permalink
added custom s3 policy section to README Fixes #54
Browse files Browse the repository at this point in the history
  • Loading branch information
pidah committed Apr 14, 2015
1 parent c41e14a commit db31706
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -109,3 +109,14 @@ By default the ELBs will have a security group opening them to the world on 80 a
If you set the protocol on an ELB to HTTPS you must include a key called `certificate_name` in the ELB block (as example above) and matching cert data in a key with the same name as the cert under `ssl` (see example above). The `cert` and `key` are required and the `chain` is optional.

The certificate will be uploaded before the stack is created and removed after it is deleted.

Applying a custom s3 policy
++++++++++++++++++++++++++++
You can add a custom s3 policy to override bootstrap-cfn's default settings. For example, the sample custom policy defined in this `json file <https://github.com/ministryofjustice/bootstrap-cfn/blob/master/tests/sample-custom-s3-policy.json>`_ can be configured as follows:

::

s3:
static-bucket-name: moj-test-dev-static
policy: tests/sample-custom-s3-policy.json

0 comments on commit db31706

Please sign in to comment.