Merge pull request #119 from kube-hetzner/keepers-tweak
Reducing the keepers list
This commit is contained in:
commit
494a2a11f3
@ -7,21 +7,9 @@ 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. This should include all input variables to this module,
|
# changes.
|
||||||
# but NO SENSITIVE values as they might be logged here.
|
name = var.name
|
||||||
name = var.name
|
private_ipv4 = var.private_ipv4
|
||||||
public_key = var.public_key
|
|
||||||
additional_public_keys = join(",", var.additional_public_keys)
|
|
||||||
firewall_ids = join(",", var.firewall_ids)
|
|
||||||
placement_group_id = var.placement_group_id
|
|
||||||
labels = join(",", [for k, v in var.labels : "${k}=${v}"])
|
|
||||||
ipv4_subnet_id = var.ipv4_subnet_id
|
|
||||||
private_ipv4 = var.private_ipv4
|
|
||||||
server_type = var.server_type
|
|
||||||
|
|
||||||
# Excluding these for now as they are part of the ignore_changes below
|
|
||||||
#ssh_keys = join(",", var.ssh_keys)
|
|
||||||
#location = var.location
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user