Run an ASG instance refresh on TF configuration change #25259
Labels
feature-request
Used for new features in Teleport, improvements to current should be #enhancements
terraform
Legacy Terraform label
terraform-deployment-examples
Issues relating to Terraform deployment examples under examples/aws/terraform
What would you like Teleport to do?
As a user editing the Teleport ASG with Terraform (updating config or Teleport version) I want the changes to apply immediately.
What problem does this solve?
Changes in configuration don't trigger an instance refresh, thus are not applied unless machines are deleted/restarted.
This causes a lot of confusion and time lost troubleshooting why the configuration change did not apply. This can also cause security issues when users think they have updated to a version containing a security fix while still running vulnerable images.
If a workaround exists, please include it.
Trigger instance rollout manually.
Implementation details
See https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/autoscaling_group#automatically-refresh-all-instances-after-the-group-is-updated
The text was updated successfully, but these errors were encountered: