Skip to content

Removal of device from Tailscale upon EC2 instance termination #22

Closed
@oeed

Description

@oeed

Thanks again for this great module!

We have an SSM automation that automatically updates the launch template with the latest AMI image every week to automatically stay on top of Inspector alerts. As a result, over time Tailscale is left with old machines (i.e. previously terminated EC2 instances) in the list. It also means the replacement machines have a -2, -3, etc. suffix rather than the desired name.

What would be awesome is an automatic cleanup script in the launch template that automatically removes the machine from Tailscale upon termination.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions