methods/cf_common.rb
# Check if AWS CF Stack exists
Check if AWS CF Stack exists
Check if AWS CF Stack exists
def check_if_aws_cf_stack_exists(options)
  exists = false
  stacks = get_aws_cf_stacks(options)
  stacks.each do |stack|
    stack_name  = stack.stack_name
    if stack_name.match(/#{options['name']}/)
      exists = true
      return exists
    end
  end
  return exists
end
def check_if_aws_cf_stack_exists ( options ) exists = false stacks = get_aws_cf_stacks ( options ) stacks . each do | stack | stack_name = stack . stack_name if stack_name . match ( / #{ options [ 'name' ] } / ) exists = true return exists end end return exists end
Check if AWS CF Stack exists
Check if AWS CF Stack exists
options
<not_specific>