lib/cfnlego/resource.rb in cfnlego-0.1.1 vs lib/cfnlego/resource.rb in cfnlego-0.2.0
- old
+ new
@@ -8,14 +8,14 @@
@type = type
@name = name
end
def attributes
- definition["AWS::#{@type}"]["Attributes"]
+ definition["#{@type}"]["Attributes"]
end
def properties
- definition["AWS::#{@type}"]['Properties']
+ definition["#{@type}"]['Properties']
end
private
# example AutoScaling::AutoScalingGroup