kickstarter / cfn-flow

A practical workflow for AWS CloudFormation
168 stars 15 forks source link

Parse ERB in templates #21

Closed ktheory closed 8 years ago

ktheory commented 8 years ago

This allows generating templates with embedded ruby.

It’s useful generating multiple similar resources like so:


---
Resources:
<% 3.times do |i| %>
  server<%= i %>:
    Type: AWS::EC2::Instance
    # ...
<% end %>

👋 @kickstarter/devops, particularly @talaris.

talaris commented 8 years ago

@ktheory The CircleCI error is because Guard does not support ruby 2.1 anymore only 2.2+. Could update the 'dependencies' steps to:

bundle install --path=vendor/bundle --without development

ktheory commented 8 years ago

@talaris Thanks for investigating. Fixed by rebasing from #22