Skip to content

Instantly share code, notes, and snippets.

@nacnudus
Last active November 3, 2022 13:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nacnudus/87f676a711e32e090cade4aa89801c79 to your computer and use it in GitHub Desktop.
Save nacnudus/87f676a711e32e090cade4aa89801c79 to your computer and use it in GitHub Desktop.
graph LR
    A[N: config<br/>N: state<br/>N: reality] -->|Nothing to do| B(N: config<br/>N: state<br/>N: reality)
    C[Y: config<br/>N: state<br/>N: reality] -->|Create| D(Y: config<br/>Y: state<br/>Y: reality)
    E[N: config<br/>Y: state<br/>N: reality] -->|Someone manually deleted it,<br/>and also removed it from the config.| F(?)
    G[N: config<br/>N: state<br/>Y: reality] -->|Ignore| H(N: config<br/>N: state<br/>Y: reality)
    I[Y: config<br/>Y: state<br/>N: reality] -->|Recreate?<br/>Someone manually deleted it.| D
    K[Y: config<br/>N: state<br/>Y: reality] -->|Error. You must import the existing resource into the state.| D
    M[N: config<br/>Y: state<br/>Y: reality] -->|Delete| N(N: config<br/>N: state<br/>N: reality)
    O[Y: config<br/>Y: state<br/>Y: reality] -->|Nothing to do| P(Y: config<br/>Y: state<br/>Y: reality)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment