Closed as not planned
Description
At least one user has reported frustration that when their workspace restarted, all of their data went missing. While we could solve this with some explicit ephemeral
flag, a more powerful approach is adding a description
field to each resource via coder_metadata
. For example:
resource "coder_metadata" "deployment" {
count = data.coder_workspace.me.start_count
resource_id = kubernetes_deployment.coder[0].id
description = "⚠️ The pod filesystem deletes on shutdown"
item {
key = "name"
value = kubernetes_deployment.coder[0].metadata[0].name
}
}
cc @dwahler, @bpmct, and @BrunoQuaresma.