You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears there's a small indentation error that mistakenly left some items outside the for loop, causing only the last alarm configured in the RDS default alarms to be created.
Can confirm this is an issue and also indenting it properly is the solution. As the code is, when adding RDS alarms to the default set, only the last alarm gets created since the create alarm function is outside the for loop so it does not properly iterate through all alarms in the default alarm dictionary
It appears there's a small indentation error that mistakenly left some items outside the for loop, causing only the last alarm configured in the RDS default alarms to be created.
amazon-cloudwatch-auto-alarms/src/actions.py
Lines 135 to 157 in 118789b
If you compare to the earlier Lambda implementation:
amazon-cloudwatch-auto-alarms/src/actions.py
Lines 181 to 213 in 118789b
Greatly appreciate this sample, thanks for your work here!
The text was updated successfully, but these errors were encountered: