mirror of
https://github.com/alexpasmantier/television.git
synced 2025-07-29 06:11:37 +00:00

## 📺 PR Description Added `aws-buckets` and `aws-instances` channels. ## Checklist - [x] my commits **and PR title** follow the [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/#summary) format - [ ] if this is a new feature, I have added tests to consolidate the feature and prevent regressions - [ ] if this is a bug fix, I have added a test that reproduces the bug (if applicable) - [ ] I have added a reasonable amount of documentation to the code where appropriate --------- Co-authored-by: Leonardo Vencovsky <leoven@Leonardos-MacBook-Pro.local> Co-authored-by: alexandre pasmantier <alex.pasmant@gmail.com>
14 lines
415 B
TOML
14 lines
415 B
TOML
[metadata]
|
|
name = "aws-instances"
|
|
description = "List and preview AWS EC2 Instances"
|
|
requirements = ["aws"]
|
|
|
|
[source]
|
|
command = "aws ec2 describe-instances --output text --query \"Reservations[*].Instances[*].[InstanceId,Tags[?Key=='Name']|[0].Value]\""
|
|
|
|
[preview]
|
|
command = "aws ec2 describe-instances --output json --instance-ids {split:\t:0} --query 'Reservations[*].Instances[0]'"
|
|
|
|
[ui.preview_panel]
|
|
size = 60
|