Class: Chef::Provider::AwsEbsVolume

Inherits:
Chef::Provisioning::AWSDriver::AWSProvider show all
Includes:
Chef::Provisioning::AWSDriver::TaggingStrategy::EC2ConvergeTags
Defined in:
lib/chef/provider/aws_ebs_volume.rb

Defined Under Namespace

Classes: VolumeInvalidStatusError, VolumeNotFoundError, VolumeStatusTimeoutError

Constant Summary

Constants inherited from Chef::Provisioning::AWSDriver::AWSProvider

Chef::Provisioning::AWSDriver::AWSProvider::AWSResource

Instance Attribute Summary

Attributes inherited from Chef::Provisioning::AWSDriver::AWSProvider

#purging

Instance Method Summary collapse

Methods included from Chef::Provisioning::AWSDriver::TaggingStrategy::EC2ConvergeTags

#aws_tagger, #converge_tags

Methods inherited from Chef::Provisioning::AWSDriver::AWSProvider

#action_handler, #converge_by, #region, #whyrun_supported?

Instance Method Details

#action_createObject



29
30
31
32
33
34
35
# File 'lib/chef/provider/aws_ebs_volume.rb', line 29

def action_create
  volume = super

  if !new_resource.machine.nil?
    update_attachment(volume)
  end
end