Sha256: bff05f377a25536df10de9e36ae6326a19f1dfdf2bfab98d691ec17b7e16bc27

Contents?: true

Size: 1.11 KB

Versions: 72

Compression:

Stored size: 1.11 KB

Contents

aws-cfn-compiler
================

A simple script to compile and perform some validation for CloudFormation scripts.  The idea is to create a folder structure to better manage pieces of a CloudFormation deployment.  Additionally, writing in JSON is hard, so the compiler takes YAML files as well.


Installation
------------

    gem install bundler
    bundle install
    
Usage
-----

```
./compile.rb -d ROOT_DIRECTORY -o OUTPUT_JSON_FILE
```

Directory Structure
-------------------

The pieces of the CloudFormation script is split into four groups:

* Parameters
* Mappings
* Resources
* Outputs

For each group, you can define a single file at the root directory with that name (i.e. outputs.json or outputs.yml) or a directory with that name containing any structure of JSON or YAML files (i.e. resources/nat.yml or resources/app/hello.json).  The script is responsible for combining everything into one JSON file.

Reference Validation
--------------------

After all the pieces are stiched together, the system runs through the file finding references to names and then attempt to validate that those names exist in the file.

Version data entries

72 entries across 72 versions & 2 rubygems

Version Path
aws-cfn-compiler-0.9.7 README.md
aws-cfn-decompiler-0.9.3 README.md
aws-cfn-decompiler-0.9.2 README.md
aws-cfn-compiler-0.9.5 README.md
aws-cfn-compiler-0.9.4 README.md
aws-cfn-compiler-0.9.3 README.md
aws-cfn-compiler-0.9.2 README.md
aws-cfn-decompiler-0.9.1 README.md
aws-cfn-compiler-0.9.1 README.md
aws-cfn-compiler-0.8.10 README.md
aws-cfn-compiler-0.8.9 README.md
aws-cfn-compiler-0.8.8 README.md
aws-cfn-compiler-0.8.7 README.md
aws-cfn-compiler-0.8.6 README.md
aws-cfn-compiler-0.8.5 README.md
aws-cfn-compiler-0.8.4 README.md
aws-cfn-decompiler-0.8.2 README.md
aws-cfn-compiler-0.8.3 README.md
aws-cfn-compiler-0.8.2 README.md
aws-cfn-decompiler-0.8.1 README.md