You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A clear and concise description of what the bug is.
The tailscale_tailnet_key resource expires in terraform at the same time that the key becomes invalid for use in the tailnet. On the surface this would seem to make sense, but it means terraform will not automatically re-generate the key prior to it's expiry, which can cause down time for nodes relying on the key.
To Reproduce
Steps to reproduce the behaviour:
Create a tailscale_tailnet_key with terraform (set a short expiry for the sake of testing)
Observe that terraform apply will not prompt to re-create the key until after expiry, at which point the key also becomes invalid on the tailnet.
Expected behaviour
A clear and concise description of what you expected to happen.
terraform apply should trigger the re-generation of the key if it is within some fraction of the exprity time. Alternatively, there should be a configuration setting to specify how long before expiry the terraform resource should become invalid.
Desktop (please complete the following information):
OS: Linux
Terraform Version: 1.10.2
Provider Version: 0.17.2
Additional context
Add any other context about the problem here.
Calling this a bug might be a stretch, but this really does have the potential to cause down time (as it has in my company's setup).
The text was updated successfully, but these errors were encountered:
Describe the bug
A clear and concise description of what the bug is.
The
tailscale_tailnet_key
resource expires in terraform at the same time that the key becomes invalid for use in the tailnet. On the surface this would seem to make sense, but it means terraform will not automatically re-generate the key prior to it's expiry, which can cause down time for nodes relying on the key.To Reproduce
Steps to reproduce the behaviour:
tailscale_tailnet_key
with terraform (set a short expiry for the sake of testing)terraform apply
will not prompt to re-create the key until after expiry, at which point the key also becomes invalid on the tailnet.Expected behaviour
A clear and concise description of what you expected to happen.
terraform apply
should trigger the re-generation of the key if it is within some fraction of the exprity time. Alternatively, there should be a configuration setting to specify how long before expiry the terraform resource should become invalid.Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
Calling this a bug might be a stretch, but this really does have the potential to cause down time (as it has in my company's setup).
The text was updated successfully, but these errors were encountered: