Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
11387: `pulumi about` outputs the fully qualified stack reference r=iwahbe a=AaronFriel Resolves #11386 ```shell $ pulumi about # current output would go here until after this line: Current Stack: dev Fully qualified stack name: Fully qualified stack name: friel/tmp.knCczy5IiO/dev Found no resources associated with dev Found no pending operations associated with dev # and regular output ``` ```shell $ pulumi about --json | jq '.currentStack.fullyQualifiedName' "friel/tmp.knCczy5IiO/dev" ``` When there is no valid stack, the `currentStack` value is `null`. Due to an existing bug, when the backend is filestate the `currentStack` value is `null`. It appears on filestate backends we do not render the current stack. Co-authored-by: Aaron Friel <mayreply@aaronfriel.com> Co-authored-by: Ian Wahbe <ian@wahbe.com>
- Loading branch information
Showing
6 changed files
with
32 additions
and
7 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
changelog/pending/20221118--cli-about--add-fully-qualified-stack-name-to-current-stack.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
changes: | ||
- type: feat | ||
scope: cli/about | ||
description: Add fully qualified stack name to current stack. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters