boltops-tools / boltops-tools/terraspace

CLI flag to print all logs during execution

Open
#232 0 comments 1 reaction 0 assignees View on GitHub
enhancement help wanted
Dominant language
Ruby
Stars
720
Forks
52
PR merge metrics
No merged PRs in 30d

Description

## 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.

Contributor guide

Open the contributing guide

Research direction

Start at the CLI entry point for `terraspace all up` and compare its existing behavior with `terraspace logs`. Trace how the `--logs` option would be parsed and how output reaches stdout; done means `terraspace all up --yes --logs` tails all log output during execution, including in pipeline runs.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby, terraform
Domain
cli, devops
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.