airyhq / airy

💬 Open Source App Framework to build streaming apps with real-time data - 💎 Build real-time data pipelines and make real-time data universally accessible - 🤖 Join historical and real-time data in the stream to create smarter ML and AI applications. - ⚡ Standardize complex data ingestion and stream data to apps with pre-built connectors
https://airy.co/docs/core
Apache License 2.0
369 stars 44 forks source link

Introduce Airy destroy #1960

Open ljupcovangelski opened 3 years ago

ljupcovangelski commented 3 years ago

Currently in the docs we are recommending or manual uninstall or destroy of the Airy Core resources, which were created with airy create.

We need to discuss and decide if we are going to introduce airy destroy and how it will work.

For example, we can create Airy Core in AWS in an existing VPC. So airy destroy shouldn't destroy the VPC in that case. Also to be considered if we introduce other installation methods (for example namespaced installation in an existing kubernetes cluster).

chrismatix commented 3 years ago

I think the motivation here is important: Why do we need this?

It's clearly better than doing it manually, but it also requires lots of delicate decisions per provider of what to delete as you pointed out @ljupcovangelski. So the effort/benefit doesn't look all that good in my view.

Even if we eventually decide to build this, I think it's a no-brainer to wait until we have migrated providers to terraform. Otherwise, the provider code will become very hard to maintain.