Skip to content

Improve line-based list result output #37344

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 23, 2025
Merged

Improve line-based list result output #37344

merged 1 commit into from
Jul 23, 2025

Conversation

dbanck
Copy link
Member

@dbanck dbanck commented Jul 18, 2025

This PR improves the line-based output of list results. By building the whole result string first, we ensure that the results are always grouped by list block. By adding space padding to the identities, we ensure that the display names start at the same column.

Fixes https://hashicorp.atlassian.net/browse/TF-27425
Fixes https://hashicorp.atlassian.net/browse/TF-27551

UX

Before
CleanShot 2025-07-18 at 14 02 31@2x

After
CleanShot 2025-07-18 at 14 01 53@2x

Target Release

1.14.x

Rollback Plan

  • If a change needs to be reverted, we will roll out an update to the code within 7 days.

Changes to Security Controls

Are there any changes to security controls (access controls, encryption, logging) in this pull request? If so, explain.

CHANGELOG entry

  • This change is user-facing and I added a changelog entry.
  • This change is not user-facing.

@dbanck dbanck requested a review from a team as a code owner July 18, 2025 12:03
@dbanck dbanck added the no-changelog-needed Add this to your PR if the change does not require a changelog entry label Jul 18, 2025
@dbanck dbanck merged commit c177897 into main Jul 23, 2025
9 of 10 checks passed
@dbanck dbanck deleted the dbanck/group-list-output branch July 23, 2025 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-changelog-needed Add this to your PR if the change does not require a changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants