lib/ufo/cfn/stack/status.rb in ufo-6.1.5 vs lib/ufo/cfn/stack/status.rb in ufo-6.2.0
- old
+ new
@@ -120,10 +120,10 @@
Time.parse(timestamp.to_s).localtime.strftime("%I:%M:%S%p")
end
# refreshes the loaded events in memory
def refresh_events
- resp = cloudformation.describe_stack_events(stack_name: @stack_name)
+ resp = cfn.describe_stack_events(stack_name: @stack_name)
@events = resp["stack_events"]
rescue Aws::CloudFormation::Errors::ValidationError => e
if e.message =~ /Stack .* does not exis/
@stack_deletion_completed = true
else