in cwoperator/helpers/cloudwatch.py [0:0]
def delete_alarm(alarm_name):
cloudwatch = cloudwatch_client()
try:
cloudwatch.delete_alarms(
AlarmNames=[
f"{alarm_name}",
]
)
except Exception as exception: # pragma: no cover
raise kopf.TemporaryError("error deleting occured. Retrying in 10s",
delay=10) from exception