DefangLabs / defang

Defang CLI and sample projects. Defang is a radically simpler way for developers to develop, deploy, and debug cloud applications.
https://defang.io
MIT License
28 stars 6 forks source link

Managed Redis doesn't have correct statuses #570

Open raphaeltm opened 1 month ago

raphaeltm commented 1 month ago

Managed Redis stays stuck with status UPDATE_QUEUED

CleanShot 2024-07-24 at 14 35 26@2x

lionello commented 1 month ago

This could be solved by adding an intermediate status/state when CD pulumi up is done, something like UPDATE_DONE, and have CD publish that state update to Loki, similar to Fabric. Until we have a real pub-sub, it would have to fake the job=fabric so it gets properly picked up by the subscriptions.

lionello commented 1 month ago

Let's use SNS to receive the events from AWS and translate these in Fabric to high level HEALTHY or FAILED events.

lionello commented 1 month ago

Use CloudWatch alarm, publish to SNS (http), handle in Fabric and translate to high level state. This will work for future managed services as well.