Module: Chef::Provisioning::AWSDriver::TaggingStrategy::AutoScalingConvergeTags

Included in:
Chef::Provider::AwsAutoScalingGroup
Defined in:
lib/chef/provisioning/aws_driver/tagging_strategy/auto_scaling.rb

Instance Method Summary collapse

Instance Method Details

#aws_taggerObject



5
6
7
8
9
10
11
12
13
14
# File 'lib/chef/provisioning/aws_driver/tagging_strategy/auto_scaling.rb', line 5

def aws_tagger
  @aws_tagger ||= begin
    auto_scaling_strategy = Chef::Provisioning::AWSDriver::TaggingStrategy::AutoScaling.new(
      new_resource.driver.auto_scaling_client,
      new_resource.name,
      new_resource.aws_tags
    )
    Chef::Provisioning::AWSDriver::AWSTagger.new(auto_scaling_strategy, action_handler)
  end
end

#converge_tagsObject



16
17
18
# File 'lib/chef/provisioning/aws_driver/tagging_strategy/auto_scaling.rb', line 16

def converge_tags
  aws_tagger.converge_tags
end