class Ufo::Network

Provides access to default network settings for a vpc: subnets and security_group If no @vpc_id is provided to the initializer then the default vpc is used.

Public Class Methods

cli_options() click to toggle source
# File lib/ufo/network.rb, line 3
def self.cli_options
  [
    [:force, type: :boolean, desc: "Bypass overwrite are you sure prompt for existing files."],
    [:ecs_subnets, type: :array, desc: "ECS Subnets"],
    [:elb_subnets, type: :array, desc: "ELB Subnets"],
    [:vpc_id, desc: "Vpc id"],
    [:filename, default: "default", desc: "Name of the settings file to create w/o extension."],
  ]
end

Public Instance Methods

init() click to toggle source
# File lib/ufo/network.rb, line 17
def init
  Init.start
end