From 0ec47441bd55be2399f7a9f9c8b9cb98cbd71af8 Mon Sep 17 00:00:00 2001 From: maggie0002 <64841595+maggie44@users.noreply.github.com> Date: Tue, 9 Apr 2024 11:33:21 +0100 Subject: [PATCH] Add resource delete protection variables to kube.tf.example --- kube.tf.example | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/kube.tf.example b/kube.tf.example index 8a08dec3..bcaacd4b 100644 --- a/kube.tf.example +++ b/kube.tf.example @@ -398,6 +398,14 @@ module "kube-hetzner" { # "--enforce-node-group-min-size=true", # ] + # Enable delete protection on compatible resources to prevent accidental deletion from the Hetzner Cloud Console. + # This does not protect deletion from Terraform itself. + # enable_delete_protection = { + # floating_ip = true + # load_balancer = true + # volume = true + # } + # Enable etcd snapshot backups to S3 storage. # Just provide a map with the needed settings (according to your S3 storage provider) and backups to S3 will # be enabled (with the default settings for etcd snapshots). @@ -503,7 +511,6 @@ module "kube-hetzner" { # Example: # traefik_additional_ports = [{name = "example", port = 1234, exposedPort = 1234}] - # If you want to configure additional trusted IPs for traefik, enter them here as a list of IPs (strings). # Example for Cloudflare: # traefik_additional_trusted_ips = [