Module: Chef::Provisioning::AWSDriver::AWSTaggable

Overview

by resources <-> providers being many-to-many.

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



9
10
11
12
13
14
15
# File 'lib/chef/provisioning/aws_driver/aws_taggable.rb', line 9

def self.included(klass)
  # This should be a hash of tags to apply to the AWS object
  #
  # @param aws_tags [Hash] Should be a hash of keys & values to add.  Keys and values
  #        can be provided as symbols or strings, but will be stored in AWS as strings.
  klass.attribute :aws_tags, kind_of: Hash
end