class Stalkedbybean::Terminate

Public Class Methods

parse_options(file_path, options) click to toggle source
# File lib/stalkedbybean/terminate.rb, line 6
def self.parse_options(file_path, options)
  @options = Stalkedbybean::Parser.parse_options(file_path, options)
end
terminate_environment() click to toggle source
# File lib/stalkedbybean/terminate.rb, line 10
def self.terminate_environment
  system(
   "eb terminate #{@options[:environment]} --all --profile #{@options[:aws_profile]} -r #{@options[:aws_region]}",
  )
end