lib/jets/cfn/builders/interface.rb in jets-1.2.1 vs lib/jets/cfn/builders/interface.rb in jets-1.3.0
- old
+ new
@@ -56,10 +56,10 @@
def add_parameter(name, options={})
defaults = { Type: "String" }
options = defaults.merge(options)
@template[:Parameters] ||= {}
- @template[:Parameters][name.camelize] = options
+ @template[:Parameters][name.to_s.camelize] = options
end
def add_outputs(attributes)
attributes.each do |name,value|
add_output(name.to_s.camelize, Value: value)