lib/dyna/wrapper/table.rb in dyna-0.2.1 vs lib/dyna/wrapper/table.rb in dyna-0.2.2

- old
+ new

@@ -280,9 +280,14 @@ @options.updated = true end end def update_auto_scaling(dsl) + unless @options.aas + log(:warn, "auto scalings can not be used in local mode.".yellow, false) + return + end + has_change = false unless scalable_targets_eql?(dsl) has_change = true df_cmp = definition[:scalable_targets].sort_by { |target| target[:scalable_dimension] }.map do |target| h = target.to_h