axiom
axiom copied to clipboard
Request: "Run additional Script" flags for fleet spinup and removal
Logging this here in case anyone wants to work it before I can. I have scripts that I run when I spin up and tear down fleets that log info to certain places (IP addresses of fleet get pushed to a db for example and updated when I destroy the hosts to say when). My current work around is wrapping the axiom calls in a shell script that parses what I need and calls my logging scripts along with the fleet commands.
This works well enough, but prevents me from using the fleet spin up and rm when finished options in axiom-scan without extra steps. In my usecase having flags/config option to specify scripts to run after fleet creation and fleet removal would be awesome. That way I can add my scripts to auto log whenever a fleet is created either through axiom-fleet or axiom-scan and when they delete and not have to do it manually.