lib/jets/cfn/builders/parent_builder.rb in jets-0.10.1 vs lib/jets/cfn/builders/parent_builder.rb in jets-0.10.2
- old
+ new
@@ -13,11 +13,11 @@
# compose is an interface method
def compose
puts "Building parent CloudFormation template."
build_minimal_resources
- build_child_resources if @options[:full] || @options[:stack_type] == :full
+ build_child_resources if @options[:templates] || @options[:stack_type] == :full
end
# template_path is an interface method
def template_path
Jets::Naming.parent_template_path
@@ -51,10 +51,10 @@
next unless File.file?(path)
add_shared_resources(path)
end
- if (@options[:full] || @options[:stack_type] == :full) and !Jets::Router.routes.empty?
+ if (@options[:templates] || @options[:stack_type] == :full) and !Jets::Router.routes.empty?
add_api_gateway
add_api_deployment
end
end