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