Exception: Humidifier::Stack::UploadNotConfiguredError
- Defined in:
- lib/humidifier/stack.rb
Instance Method Summary collapse
-
#initialize(identifier) ⇒ UploadNotConfiguredError
constructor
A new instance of UploadNotConfiguredError.
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 |