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
* updated example code in readme
* updated help printout in readme
* added simple output to choices for output format
* added a drop down for v2.3.1 example code
* fixed v2.3.1 example code
* copied v2.3.1 example code from old readme
Co-authored-by: Rodrigo Okamoto <rodocp@amazon.com>
ec2-instance-selector is a CLI tool to filter EC2 instance types based on resource criteria.
156
+
ec2-instance-selector is a CLI tool to filter EC2 instance types based on resource criteria.
157
157
Filtering allows you to select all the instance types that match your application requirements.
158
158
Full docs can be found at github.com/aws/amazon-ec2-instance-selector
159
159
@@ -245,7 +245,7 @@ Global Flags:
245
245
--cache-ttl int Cache TTLs in hours for pricing and instance type caches. Setting the cache to 0 will turn off caching and cleanup any on-disk caches. (default 168)
246
246
-h, --help Help
247
247
--max-results int The maximum number of instance types that match your criteria to return (default 20)
248
-
-o, --output string Specify the output format (table, table-wide, one-line)
248
+
-o, --output string Specify the output format (table, table-wide, one-line, simple) (default "simple")
249
249
--profile string AWS CLI profile to use for credentials and config
250
250
-r, --region string AWS Region to use for API requests (NOTE: if not passed in, uses AWS SDK default precedence)
251
251
-v, --verbose Verbose - will print out full instance specs
@@ -257,8 +257,11 @@ Global Flags:
257
257
258
258
This is a minimal example of using the instance selector go package directly:
259
259
260
-
**cmd/examples/example1.go**
261
-
```go#cmd/examples/example1.go
260
+
**NOTE:** The example below is intended for `v3+`. For versions `v2.3.1` and earlier, refer to the following dropdown:
0 commit comments