Coder Social home page Coder Social logo

Destroy about lyra HOT 6 CLOSED

kenazk avatar kenazk commented on June 9, 2024
Destroy

from lyra.

Comments (6)

scottyw avatar scottyw commented on June 9, 2024

Relates to #45

from lyra.

thallgren avatar thallgren commented on June 9, 2024

#45 adds a delete command. The term was chosen because we've used it frequently in our discussions and it's also what D refers to in CRUD. I'm a bit concerned if we want to rename the command to "destroy".

"The infrastructure has been destroyed" sounds to me like it's now completely broken. Smashed to pieces. "The infrastructure has been deleted" on the other hand, sounds like it has been removed and no longer exists.

Is the term "destroy" commonly used by other tools in the domain?

from lyra.

jdwelch avatar jdwelch commented on June 9, 2024

I don't feel terribly strongly about it, but I like the connotation with 'destroy' that the action you're taking is serious and irrevocable. 'Delete' is certainly more common, so I'm happy to go with that.

from lyra.

kenazk avatar kenazk commented on June 9, 2024

@thallgren - Is there a version of this where you can destroy all resources that have been created by Lyra vs the provided workflow? Just thinking about the case where someone is iteratively developing their infra by creating one workflow at a time, then borks it, and wants to blow away all resources created.

from lyra.

thallgren avatar thallgren commented on June 9, 2024

@kenazk there are presently two types of deletes that take place. The implicit one that takes place during apply when you remove something from the manifest and the explicit one that you get when you use delete instead of apply on a workflow. There's currently no way to delete everything that lyra has created but it would be easy enough to add a delete --all or something similar.

from lyra.

kenazk avatar kenazk commented on June 9, 2024

Ok. Thanks @thallgren. Let's hold off for now.

Anything else we need to close this feature?

from lyra.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.