Class: Central::Cli::Auth::Aws::CreateCommand
- Inherits:
-
Clamp::Command
- Object
- Clamp::Command
- Central::Cli::Auth::Aws::CreateCommand
- Includes:
- Common
- Defined in:
- lib/central/cli/auth/aws/create_command.rb
Instance Method Summary collapse
Methods included from Common
#access_token=, #add_master, #api_url, #api_url=, #clear_current_stack, #client, #current_master, #current_master=, #current_master_index, #current_stack, #current_stack=, #ensure_custom_ssl_ca, #require_api_url, #require_current_stack, #require_token, #reset_client, #save_settings, #settings, #settings_filename
Instance Method Details
#execute ⇒ Object
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
# File 'lib/central/cli/auth/aws/create_command.rb', line 18 def execute require 'central/machine/aws' provisioner = Central::Machine::Aws::AuthProvisioner.new(access_key, secret_key, region) provisioner.run!( type: type, vpc: vpc_id, zone: zone, subnet: subnet_id, ssl_cert: ssl_cert, storage: storage, version: version, key_pair: key_pair ) end |