Sha256: 0660e362d1ef57ea46a2b1fc7ff8d855be6038ad4e6ae2a25abfaff15cc98053
Contents?: true
Size: 1.64 KB
Versions: 3
Compression:
Stored size: 1.64 KB
Contents
module Lono class SetInstances < Lono::Command opts = Opts.new(self) desc "create STACK_SET", "Create CloudFormation stack set instances." long_desc Lono::Help.text("set_instances/create") opts.create def create(stack) Create.new(options.merge(stack: stack)).run end desc "update STACK_SET", "Update CloudFormation stack set instances." long_desc Lono::Help.text("set_instances/update") opts.update def update(stack) Update.new(options.merge(stack: stack)).run end desc "deploy STACK_SET", "Deploy CloudFormation stack set instances" long_desc Lono::Help.text("set_instances/deploy") opts.deploy def deploy(stack) Deploy.new(options.merge(stack: stack)).run end desc "delete STACK_SET", "Delete CloudFormation stack set instances." long_desc Lono::Help.text("set_instances/delete") opts.delete def delete(stack) Delete.new(options.merge(stack: stack)).run end desc "sync STACK_SET", "Sync CloudFormation stack set instances." long_desc Lono::Help.text("set_instances/sync") opts.sync def sync(stack) Sync.new(options.merge(stack: stack)).run end desc "list STACK_SET", "List CloudFormation stack set instances." long_desc Lono::Help.text("set_instances/list") def list(stack) List.new(options.merge(stack: stack)).run end desc "status STACK_SET", "Show current status of stack instances." long_desc Lono::Help.text("set_instances/status") def status(stack) instances_status = Status.new(options.merge(stack: stack)) success = instances_status.run exit 3 unless success end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
lono-7.5.2 | lib/lono/set_instances.rb |
lono-7.5.1 | lib/lono/set_instances.rb |
lono-7.5.0 | lib/lono/set_instances.rb |