Merge pull request #1783 from openziti/housekeeper-exclude-flow-control

exclude instances named like 'flow-control.*'
This commit is contained in:
Kenneth Bingham
2024-02-29 14:44:38 -05:00
committed by GitHub
+2 -2
View File
@@ -18,9 +18,9 @@ function describe_instances() {
--arg region "$region" \
--arg oldest "$oldest" '
[
.[]
|.[]
.[][]
|select(.LaunchTime < $oldest)
| select(.Tags[] | select(.Key=="Name").Value | test("flow-control\\.*") | not )
|{InstanceId: .InstanceId, Region: $region, LaunchTime: .LaunchTime, State: .State, Tags: .Tags}
]
' \