kept only name and ip as keepers for the random_string ressource for the servers

This commit is contained in:
Karim Naufal 2022-03-09 20:57:52 +01:00
parent 6362bc9306
commit 46ab602da3

View File

@ -8,11 +8,8 @@ resource "random_string" "server" {
keepers = { keepers = {
# We re-create the id (and server) whenever one of those attributes # We re-create the id (and server) whenever one of those attributes
# changes. # changes.
name = var.name name = var.name
public_key = var.public_key private_ipv4 = var.private_ipv4
additional_public_keys = join(",", var.additional_public_keys)
placement_group_id = var.placement_group_id
private_ipv4 = var.private_ipv4
} }
} }