Exception: Humidifier::Stack::UploadNotConfiguredError

Inherits:
Error
  • Object
show all
Defined in:
lib/humidifier/stack.rb

Instance Method Summary collapse

Constructor Details

#initialize(identifier) ⇒ UploadNotConfiguredError

Returns a new instance of UploadNotConfiguredError.



24
25
26
27
28
29
30
31
32
33
34
35
36
# File 'lib/humidifier/stack.rb', line 24

def initialize(identifier)
  super(<<~MSG)
    The #{identifier} stack's body is too large to be use the
    template_body option, and therefore must use the template_url option
    instead. You can configure Humidifier to do this automatically by
    setting up the s3 config on the top-level Humidifier object like so:

        Humidifier.configure do |config|
          config.s3_bucket = 'my.s3.bucket'
          config.s3_prefix = 'my-prefix/' # optional
        end
  MSG
end