mirror of
https://github.com/Mic92/nixos-wiki-infra.git
synced 2025-06-26 20:51:56 +02:00
prevent accidential vm destroy
This commit is contained in:
parent
2752d4c18e
commit
4c5c8d714d
@ -17,7 +17,7 @@ resource "hcloud_server" "nixos_wiki" {
|
|||||||
lifecycle {
|
lifecycle {
|
||||||
# Don't destroy server instance if ssh keys changes.
|
# Don't destroy server instance if ssh keys changes.
|
||||||
ignore_changes = [ssh_keys]
|
ignore_changes = [ssh_keys]
|
||||||
prevent_destroy = false
|
prevent_destroy = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user