src/bosh_aws_cpi/lib/cloud/aws/cloud_v2.rb
##
# Delete EC2 instance ("terminate" in AWS language) and wait until
# it reports as terminated
# @param [String] instance_id EC2 instance id
Delete EC2 instance ("terminate" in AWS language) and wait until
it reports as terminated
Delete EC2 instance ( " terminate " in AWS language ) and wait until it reports as terminated
def delete_vm(instance_id)
      with_thread_name("delete_vm(#{instance_id}):v2") do
        logger.info("Deleting instance '#{instance_id}'")
        @cloud_core.delete_vm(instance_id) do |instance_id|
          @registry.delete_settings(instance_id) if @stemcell_api_version < 2
        end
      end
    end
def delete_vm ( instance_id ) with_thread_name ( "delete_vm(#{instance_id}):v2" ) do logger . info ( "Deleting instance '#{instance_id}'" ) @cloud_core . delete_vm ( instance_id ) do | instance_id | @registry . delete_settings ( instance_id ) if @stemcell_api_version < 2 end end end
Delete EC2 instance ("terminate" in AWS language) and wait until
it reports as terminated
Delete EC2 instance ( " terminate " in AWS language ) and wait until it reports as terminated
instance_id
<not_specific>
<not_specific>
instance_id EC2 instance id
instance_id EC2 instance id