Class: Chef::Provider::AwsEbsVolume

Inherits:
Chef::Provisioning::AWSDriver::AWSProvider
  • Object
show all
Defined in:
lib/chef/provider/aws_ebs_volume.rb

Defined Under Namespace

Classes: VolumeInvalidStatusError, VolumeNotFoundError, VolumeStatusTimeoutError

Instance Method Summary collapse

Instance Method Details

#action_createObject



25
26
27
28
29
30
31
# File 'lib/chef/provider/aws_ebs_volume.rb', line 25

def action_create
  volume = super

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