Exception: Humidifier::SdkPayload::TemplateTooLargeError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/humidifier/sdk_payload.rb

Overview

Thrown when a template is too large to use the template_url option

Instance Method Summary collapse

Constructor Details

#initialize(bytesize) ⇒ TemplateTooLargeError

Returns a new instance of TemplateTooLargeError.



15
16
17
18
19
20
21
# File 'lib/humidifier/sdk_payload.rb', line 15

def initialize(bytesize)
  message = <<-MSG
Cannot use a template > #{MAX_TEMPLATE_URL_SIZE} bytes (currently #{bytesize} bytes), consider using nested stacks
(http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stack.html)
MSG
  super(message)
end