Multiple additional SSH keys with labels on re-apply #1129
MariusSchiffer
started this conversation in
Ideas
Replies: 1 comment
-
@MariusSchiffer This should work for first deploy only. We do not yet have support to apply it at a later stage on re-apply. We do support this kind of behavior for other things. If you want to add support for this, PR is most welcome. Usually terraform is really just for deploy, so that's more like custom behavior and extra sugar, but I can see the need for it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
I set up multiple SSH keys with label
role=admin
. I'm expecting terraform to roll out any and all SSH keys that have this label.When I'm adding a new SSH key, it doesn't seem to apply it.
Kube.tf file
It does seem to refresh
module.kube-hetzner.data.hcloud_ssh_keys.keys_by_selector[0]
.So to reproduce. create a cluster including a hcloud_key_label key. Add a key with the same label and re-apply. Infrastructure does not change. It should change the cloudinit config
Screenshots
No response
Platform
Linux
Beta Was this translation helpful? Give feedback.
All reactions