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
Copy file name to clipboardExpand all lines: cmd/main.go
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -67,6 +67,8 @@ const (
67
67
currentGeneration="current-generation"
68
68
networkInterfaces="network-interfaces"
69
69
networkPerformance="network-performance"
70
+
allowList="allow-list"
71
+
denyList="deny-list"
70
72
)
71
73
72
74
// Aggregate Filter Flags
@@ -133,6 +135,8 @@ Full docs can be found at github.com/aws/amazon-` + binName
133
135
cli.BoolFlag(currentGeneration, nil, nil, "Current generation instance types (explicitly set this to false to not return current generation instance types)")
134
136
cli.IntMinMaxRangeFlags(networkInterfaces, nil, nil, "Number of network interfaces (ENIs) that can be attached to the instance")
135
137
cli.IntMinMaxRangeFlags(networkPerformance, nil, nil, "Bandwidth in Gib/s of network performance (Example: 100)")
138
+
cli.RegexFlag(allowList, nil, nil, "List of allowed instance types to select from w/ regex syntax (Example: m[3-5]\\.*)")
139
+
cli.RegexFlag(denyList, nil, nil, "List of instance types which should be excluded w/ regex syntax (Example: m[1-2]\\.*)")
136
140
137
141
// Suite Flags - higher level aggregate filters that return opinionated result
138
142
@@ -204,6 +208,8 @@ Full docs can be found at github.com/aws/amazon-` + binName
0 commit comments