Giter Club home page Giter Club logo

Comments (11)

alvarodms avatar alvarodms commented on July 28, 2024 2

I'm also having issues with redeployment.

Getting the following error:

Serverless: Updating Stack...
Serverless: Checking Stack update progress...
........
Serverless: Operation failed!

  Serverless Error ---------------------------------------

  An error occurred: WarmUpPluginLogGroup - /aws/lambda/test-api-warmup-plugin already exists.

I had to manually delete that log group on CloudWatch.

from serverless-plugin-warmup.

antoniuslin avatar antoniuslin commented on July 28, 2024 2

Hi @juanjoDiaz,

I can confirm that multiple stages of deployment. My issue seems to have disappeared (resolved?) when specifying the service & stage in the lambda warmer config block itself as you hinted from the link. E.g.

  warmup:
    enabled: true
    ...
    # specified
    name: ${self:service}-${opt:stage}-lambda-warmer
    # instead of the prior
    # name: 'lambda-warmer'
    ...
    timeout: 60

It resulted in a unique lambda log group per stage for the service.
Thanks much!

from serverless-plugin-warmup.

cdichiara avatar cdichiara commented on July 28, 2024 1

Oh, thanks, I just updated - I was way back at 3.3.0, that's probably it.

from serverless-plugin-warmup.

goncaloneves avatar goncaloneves commented on July 28, 2024

@cdichiara @alvarodms What version were you using, 3.6.0?

from serverless-plugin-warmup.

goncaloneves avatar goncaloneves commented on July 28, 2024

It should have been the options bug from 3.6.0. Did a quick double deploy / remove test and it's working fine with latest 3.6.1 version.

Warmup log group is created and removed properly.

(edit)
Closing. If error persists, let us know here.

from serverless-plugin-warmup.

sashokbg avatar sashokbg commented on July 28, 2024

I am experiencing this problem with 3.6.2-rc.1 any advise ?

from serverless-plugin-warmup.

juanjoDiaz avatar juanjoDiaz commented on July 28, 2024

Any reason to not update to the latest version 4.4.3-rc.1?

from serverless-plugin-warmup.

antoniuslin avatar antoniuslin commented on July 28, 2024
Serverless Error ---------------------------------------

  An error occurred: WarmUpPluginLogGroup - /aws/lambda/lambda-warmer already exists in stack arn:aws:cloudformation:us-e...

Bump.
Hello. I'm still experiencing this issue using "serverless-plugin-warmup": "^4.5.3-rc.1",. I encountered the issue during a re-deploy. Is there a plan on the way?
Thank you.

from serverless-plugin-warmup.

juanjoDiaz avatar juanjoDiaz commented on July 28, 2024

Hi @antoniuslin,

quick googling shows me that this is a known problem of Serverless when using multiple stages (serverless/serverless#5057)
Can you take a look at that and let me know if it helps?

from serverless-plugin-warmup.

juanjoDiaz avatar juanjoDiaz commented on July 28, 2024

That's odd since that should be the default name anyway.
And the name lambda-warmer is nowhere in the codebase.
Any idea of where was it coming from?

from serverless-plugin-warmup.

antoniuslin avatar antoniuslin commented on July 28, 2024

Honestly, I don't remember and I'd just sooner chalk it up to my not RTFM & hasty copypasta from some article about this nice & nifty plugin somewhere. If I had just spent a couple of proper minutes reading the README.md, I would've found the info:

name (default ${service}-${stage}-warmup-plugin)

from serverless-plugin-warmup.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.