From 5590ecfc985a6c31f8902a93799f6e6ed3def1dc Mon Sep 17 00:00:00 2001 From: Karim Naufal Date: Sat, 12 Mar 2022 09:42:36 +0100 Subject: [PATCH] tweaked keepers for random string --- modules/host/main.tf | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/modules/host/main.tf b/modules/host/main.tf index 22a7c52..beb051b 100644 --- a/modules/host/main.tf +++ b/modules/host/main.tf @@ -6,10 +6,8 @@ resource "random_string" "server" { upper = false keepers = { - # We re-create the id (and server) whenever one of those attributes - # changes. - name = var.name - private_ipv4 = var.private_ipv4 + # We re-create the apart of the name changes. + name = var.name } }