Sha256: b5d456b89fbe218365b56321516cca299b1d6a2703c9966510d39030c0a1983e

Contents?: true

Size: 1.18 KB

Versions: 9

Compression:

Stored size: 1.18 KB

Contents

#
# Author:: Seth Chisamore (<schisamo@chef.io>)
# Copyright:: Copyright (c) 2012-2019 Chef Software, Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

require_relative "helpers/ec2_base"

class Chef
  class Knife
    class Ec2FlavorList < Knife

      include Knife::Ec2Base

      banner "knife ec2 flavor list (options) [DEPRECATED]"

      def run
        ui.error("knife ec2 flavor list has been deprecated as this functionality is not provided by the AWS API the previous implementation relied upon hardcoded values that were often incorrect. For an up to date list of instance types see https://www.ec2instances.info/")
        exit 1
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
knife-ec2-2.1.6 lib/chef/knife/ec2_flavor_list.rb
knife-ec2-2.1.4 lib/chef/knife/ec2_flavor_list.rb
knife-ec2-2.1.3 lib/chef/knife/ec2_flavor_list.rb
knife-ec2-2.1.2 lib/chef/knife/ec2_flavor_list.rb
knife-ec2-2.1.1 lib/chef/knife/ec2_flavor_list.rb
knife-ec2-2.1.0 lib/chef/knife/ec2_flavor_list.rb
knife-ec2-2.0.6 lib/chef/knife/ec2_flavor_list.rb
knife-ec2-2.0.4 lib/chef/knife/ec2_flavor_list.rb
knife-ec2-2.0.3 lib/chef/knife/ec2_flavor_list.rb