tailout icon indicating copy to clipboard operation
tailout copied to clipboard

In stop cmd, replace region regex with actual list of available regions

Open shayelkin opened this issue 1 year ago • 0 comments

stop.go had a regex to extract the region from the node name. This regex was missing some regions (il-* e.g.) and could also match on non-valid regions, if we had a node tagged tailout which such. Instead, use the list of regions as returned by DescribeRegions to search for matches in the node name.

shayelkin avatar May 15 '24 06:05 shayelkin