hashicorp / hashicorp/nomad-pack

Show outputs before deployment is complete?

Open
#895 1 comment 0 reactions 0 assignees View on GitHub
hcc/jira stage/needs-discussion theme/cli type/enhancement
Dominant language
Go
Stars
447
Forks
65
PR merge metrics
No merged PRs in 30d

Description

So, right now I always have to use `-detach` if I want to see outputs immediately, but maybe it would be possible to display outputs before waiting for deployment completion? Usually I use outputs only to generate some job specific instructions for user of pack, like setting up variables, etc from CLI.

Or maybe instead outputs.tpl there could be another pack tpl supported file to display some generated information before run of the pack?

Contributor guide

Open the contributing guide

Research direction

Start by tracing the CLI path that waits for deployment completion and how outputs are rendered, then compare it with the existing outputs.tpl behavior mentioned in the issue. Clarify whether the desired result is early output display or a separate pack template, and consider the work done when one agreed mechanism is implemented and its behavior is verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.