Sha256: 3c479165576dbc8041b8417b19b98c95395b064b86d88284cbb308cb27022ddc

Contents?: true

Size: 670 Bytes

Versions: 2

Compression:

Stored size: 670 Bytes

Contents

require "aws-sdk-core"
require "autostacker24"
require_relative "../lib/autocanary24/client"

task :default do

  # 1) Create the base stack which includes at least the ELB
  parameters = {}
  Stacker.create_or_update_stack('autocanary24-example', 'base-stack.json', parameters)

  # 2) Create the stack which includes the ASG
  client = AutoCanary24::Client.new({
    :keep_inactive_stack => true
  })

  parameters = {}
  client.deploy_stack('autocanary24-example', 'asg-stack.json', parameters)

end

task :cleanup do
  Stacker.delete_stack('autocanary24-example-B')
  Stacker.delete_stack('autocanary24-example-G')
  Stacker.delete_stack('autocanary24-example')
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
autocanary24-0.1.0.pre.alpha1 examples/Rakefile
autocanary24-0.1.0.pre.alpha examples/Rakefile