Method: AppCommand::CloudFormationCreate#execute

Defined in:
lib/routes/cloudformation_create.rb

#executeObject



37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# File 'lib/routes/cloudformation_create.rb', line 37

def execute

    begin

        @opts = command_options
        @args = arguments

        @template        = nil
        @templates       = {}
        @params          = {}
        @params_system   = nil
        @output          = {}
        @regions         = App::AWSCli::get_regions
        @lookups         = {}
        @lookup_cache    = {}
        @data            = nil
        @table_widths    = {}
        @export_map      = {}
        @columns         = {}
        @options_default = {}
        @cache           = {}
        @cache_valid     = false
        @projects        = {}
        @nested_stacks   = {}

        @terminal_width                             = Blufin::Terminal::get_terminal_width
        @columns, @data, @export_map, @table_widths = App::AWSReports::(@regions)

        @owner = Blufin::Config::get['DeveloperName']

        Blufin::Projects::init(App::AWSProfile::get_profile['Projects'])

        opts_validate
        opts_routing

    rescue => e

        Blufin::Terminal::print_exception(e)

    end

end