boltops-tools / terraspace

Terraspace: The Terraform Framework
https://terraspace.cloud
Apache License 2.0
674 stars 46 forks source link

CLI flag to print all logs during execution #232

Open carsondoesbusiness opened 2 years ago

carsondoesbusiness commented 2 years ago

Summary

When running terraspace in a pipeline (especially on ephemeral runners), it is not feasible to tail logs in the same execution. This means that pipeline logs are incomplete, and developers have no way to be sure of the status of the build until success or failure. In many cases, the error logs from terraspace up are also incomplete without the ability to run terraspace logs.

Running terraspace all up --yes --logs should tail all log output to stdout for visibility.