Module: VagrantPlugins::AMI::Action

Includes:
Vagrant::Action::Builtin
Defined in:
lib/vagrant-ami/action.rb,
lib/vagrant-ami/action/create_ami.rb

Defined Under Namespace

Classes: CreateAMI

Class Method Summary collapse

Class Method Details

.action_create_amiObject

This action is called to create EC2 AMIs.



13
14
15
16
17
18
19
# File 'lib/vagrant-ami/action.rb', line 13

def self.action_create_ami
  Vagrant::Action::Builder.new.tap do |b|
    b.use ConfigValidate
    b.use VagrantPlugins::AWS::Action::ConnectAWS
    b.use CreateAMI
  end
end