gruntwork-io/cloud-nuke

Nicer logs for CI executions

Closed this issue · 2 comments

Good morning wonderful gruntworkers,

We are nuking our test environments with cloud-nuke, running from a github action, which is working nicely.

Unfortunately we see 1000's of lines of output from the "Retrieving active AWS resources" message spinner in our actions log.

spinnerMsg := fmt.Sprintf("Retrieving active AWS resources in [%s]", strings.Join(targetRegions[:], ", "))

image

Is there a way we could disable the spinner, or get a simpler output mode for use in automation?

Thank you!

Carl

We've also found this annoying internally and have plans to add a flag to enable a more machine-readable output. No ETA yet unfortunately. That being said, PRs are always welcome!

Thank you @hongil0316 ❤️