lib/rubber/cloud/aws/base.rb
def create_tags(resource_id, tags)
        # Tags need to be created individually in fog
        tags.each do |k, v|
          compute_provider.tags.create(:resource_id => resource_id,
                                        :key => k.to_s, :value => v.to_s)
        end
      end
# resource_id is any Amazon resource ID (e.g., instance ID or volume ID)
# tags is a hash of tag_name => tag_value pairs
resource_id is any Amazon resource ID
tags is a hash of tag_name => tag_value pairs
resource_id is any Amazon resource ID tags is a hash of tag_name = > tag_value pairs
def create_tags(resource_id, tags)
        tags.each do |k, v|
          compute_provider.tags.create(:resource_id => resource_id,
                                        :key => k.to_s, :value => v.to_s)
        end
      end
def create_tags ( resource_id , tags ) tags . each do | k , v | compute_provider . tags . create ( :resource_id => resource_id , :key => k . to_s , :value => v . to_s ) end end
resource_id is any Amazon resource ID (e.g., instance ID or volume ID)
tags is a hash of tag_name => tag_value pairs
resource_id is any Amazon resource ID ( e . g . instance ID or volume ID ) tags is a hash of tag_name = > tag_value pairs
# Tags need to be created individually in fog
resource_id
tags