lib/ufo/cfn/stack.rb in ufo-6.0.9 vs lib/ufo/cfn/stack.rb in ufo-6.1.0
- old
+ new
@@ -22,10 +22,11 @@
# UPDATE_ROLLBACK_IN_PROGRESS
#
module Ufo::Cfn
class Stack < Base
extend Memoist
+ include Ufo::TaskDefinition::Helpers::AwsHelper
def deploy
build
@stack = find_stack(@stack_name)
if @stack && rollback_complete?(@stack)
@@ -158,13 +159,7 @@
logger.info "Canceling stack update"
else
logger.info "The stack is not in a state to that is cancelable: #{stack.stack_status}"
end
end
-
- delegate :region, to: :aws
- def aws
- AwsData.new
- end
- memoize :aws
end
end