Innablr / revolver

AWS Powercycle Facility
MIT License
2 stars 3 forks source link

Make CSV resource/audit columns configurable #205

Closed simon-anz closed 1 month ago

simon-anz commented 7 months ago

It might be nice if the CSV/console output tables could be configured by users. The list of fields available would be pretty narrow, and need to be documented.

Related https://github.com/Innablr/revolver/issues/201 https://github.com/Innablr/revolver/pull/138

cf

2024-02-22 12:14:19.685 INFO    /lib/objectLog.js:68    revolver    Writing ResourceTable log to resources.csv
2024-02-22 12:14:19.686 INFO    /lib/objectLog.js:42    revolver    Object Log:
ACCOUNT_ID      ACCOUNT_NAME    REGION            TYPE           ID                           STATE      ACTIONS        TAG:Name          TAG:Schedule
554096786507    innovation      ap-southeast-2    ec2            i-0c688d35209d7f436          stopped    StartAction    junk-vm-2-on
554096786507    innovation      ap-southeast-2    ec2            i-05b6baf37fc8f9454          running                   junk-asg-2-on
554096786507    innovation      ap-southeast-2    ec2            i-063b7bca98a844fa4          running                   junk-vm-3-days
lyricnz commented 4 months ago

Added support for including AWS Resource Tags in the CSV in #323

lyricnz commented 1 month ago

That's probably enough for now. Reopen if not.