Sha256: 8de533138ccc6289716a2e4e4163ffacbf2c53b8dd56a0989a8951c2813ddf5a
Contents?: true
Size: 388 Bytes
Versions: 3
Compression:
Stored size: 388 Bytes
Contents
module Rubber module Tag # Updates the tags for the given ec2 instance def self.update_instance_tags(instance_alias) instance_item = Rubber.instances[instance_alias] raise "Instance does not exist: #{instance_alias}" if ! instance_item Rubber.cloud.create_tags(instance_item.instance_id, :Name => instance_alias, :Environment => Rubber.env) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rubber-3.2.2 | lib/rubber/tag.rb |
rubber-3.2.1 | lib/rubber/tag.rb |
rubber-3.2.0 | lib/rubber/tag.rb |