lib/jets/resource/child_stack/api_resource.rb in jets-3.2.2 vs lib/jets/resource/child_stack/api_resource.rb in jets-4.0.0

- old
+ new

@@ -26,10 +26,10 @@ def parameters params = {} # Since dont have all the info required. # Read the template back to find the parameters required. # Actually might be easier to rationalize this approach. - template_path = Jets::Naming.api_resources_template_path(@page) + template_path = Jets::Names.api_resources_template_path(@page) template = Jets::Cfn::BuiltTemplate.get(template_path) template['Parameters'].keys.each do |p| case p when "RestApi" params[p] = "!GetAtt ApiGateway.Outputs.RestApi"