Git Product home page Git Product logo

Comments (4)

apparentlymart avatar apparentlymart commented on June 1, 2024 3

A while back when we were prototyping different UI for diffs we included the idea of service interruptions, which is included in this old mock:

Screenshot of Terraform plan output showing "forces service interruption" on one of the changes

A structural diff presentation similar to this has been implemented for Terraform v0.12, but the main reason I'm sharing this is to record the part related to service interruptions. In particular:

  • This new ~!~ diff symbol is trying to succinctly represent the idea of a "disruptive update".
  • The terminology is "service interruption" rather than "downtime" because it seems more general and thus can cover more cases without seeming weird.
  • The specific change that is causing the service interruption is indicated, just like when a change "forces replacement" (or "forces new resource", as we would say in v0.11 and prior).

None of this is final by any means, but I just wanted to share this mock as a starting point for future design work. This requires both UI design work and protocol/API design work internally, so I expect (as Radek noted) it won't be doable for a while until some other work has settled down first. In particular, the initial v0.12.0 release and most likely also at least one phase of the SDK revamp to directly support the new v0.12 plugin protocol, so that we don't have to force this new idea through the old protocol shim layer.

from terraform-plugin-sdk.

bflad avatar bflad commented on June 1, 2024 2

Please note I created an issue upstream for tracking this as part of the protocol/UI, since it seems like a generic difference metadata implementation might be desirable to fulfill a few different but related use cases: hashicorp/terraform#27550

from terraform-plugin-sdk.

radeksimko avatar radeksimko commented on June 1, 2024 1

Just adding another idea for potential name of this future field as I couldn't find this issue through GitHub search: RequiresInterruption

Work on this (and the exact implementation) is however yet to be scheduled and name yet to be decided, all of which won't happen until after 0.12.

from terraform-plugin-sdk.

paultyng avatar paultyng commented on June 1, 2024

I think with 0.12 warnings (#74), we should be able to look at this.

from terraform-plugin-sdk.

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.