zappa / Zappa

Serverless Python
https://zappa.ws/zappa
MIT License
3.31k stars 363 forks source link

[Migrated] switching "keep_warm" off doesn't work #774

Closed jneves closed 6 months ago

jneves commented 3 years ago

Originally from: https://github.com/Miserlou/Zappa/issues/1915 by filthysocks

If you switch the keep_warm functionality on and then back off again then the cloudwatch rule is NOT deleted.

Context

If you set keep_warm to true, deploy set it to false and deploy again then the cloudwatch rule is not deleted. Thus, the function will still be kept warm.

Expected Behavior

if keep_warm: false, then the function should not be kept warm

Actual Behavior

it is kept warm

Possible Fix

not sure ...

Steps to Reproduce

  1. deploy a function with "keep_warm": true
  2. update this function with "keep_warm": false

Your Environment

github-actions[bot] commented 7 months ago

Hi there! Unfortunately, this Issue has not seen any activity for at least 90 days. If the Issue is still relevant to the latest version of Zappa, please comment within the next 10 days if you wish to keep it open. Otherwise, it will be automatically closed.

github-actions[bot] commented 6 months ago

Hi there! Unfortunately, this Issue was automatically closed as it had not seen any activity in at least 100 days. If the Issue is still relevant to the latest version of Zappa, please open a new Issue.