Method: Sfn::CommandModule::Template::InstanceMethods#validate_nesting_bucket!
- Defined in:
- lib/sfn/command_module/template.rb
#validate_nesting_bucket! ⇒ Object
Force user friendly error if nesting bucket is not set within configuration
288 289 290 291 292 293 |
# File 'lib/sfn/command_module/template.rb', line 288 def validate_nesting_bucket! if config[:nesting_bucket].to_s.empty? ui.error "Missing required configuration value for `nesting_bucket`. Cannot generated nested templates!" raise ArgumentError.new "Required configuration value for `nesting_bucket` not provided." end end |