lib/cfer.rb
# Creates or updates a CloudFormation stack
# @param stack_name [String] The name of the stack to update
# @param options [Hash]
Creates or updates a CloudFormation stack
Creates or updates a CloudFormation stack
def config(options)
      Cfer::LOGGER.debug "Options: #{options}"
      Cfer::LOGGER.level = Logger::DEBUG if options[:verbose]
      Aws.config.update region: options[:region] if options[:region]
      Aws.config.update credentials: Cfer::Cfn::CferCredentialsProvider.new(profile_name: options[:profile]) if options[:profile]
    end
def config ( options ) Cfer :: LOGGER . debug "Options: #{options}" Cfer :: LOGGER . level = Logger :: DEBUG if options [ :verbose ] Aws . config . update region : options [ :region ] if options [ :region ] Aws . config . update credentials : Cfer :: Cfn :: CferCredentialsProvider . new ( profile_name : options [ :profile ] ) if options [ :profile ] end
Creates or updates a CloudFormation stack
Creates or updates a CloudFormation stack
options
<not_specific>
stack_name
<not_specific>
The name of the stack to update
The name of the stack to update
<not_specific>
None