Method: CopySnapshot::SnapshotCreatedState#enter

Defined in:
lib/scripts/ec2/copy_snapshot.rb

#enterObject



180
181
182
183
184
185
# File 'lib/scripts/ec2/copy_snapshot.rb', line 180

def enter()
  local_region()
  shut_down_instance(@context[:source_instance_id])
  delete_volume(@context[:source_volume_id])
  SourceCleanedUpState.new(@context)
end