Skip to content
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

Azure Terrafy long pathname is cut off #17

Open
simone-bennett opened this issue Oct 14, 2021 · 1 comment
Open

Azure Terrafy long pathname is cut off #17

simone-bennett opened this issue Oct 14, 2021 · 1 comment
Labels

Comments

@simone-bennett
Copy link
Contributor

When Azure Terrafy is initialising, long path names are cut off so you can't see the resource type or name to enter it.

For example:
_/subscriptions/0000000000-000000000-00000000/resourceGroups/rg-core-infra/providers/Microsoft.Automation/automationAccounts/CoreInfraAutomationAC/connectionTypes/AzureClassicCertif ..

│ /subscriptions/0000000000-000000000-00000000//resourceGroups/rg-core-infra/providers/Microsoft.Automation/automationAccounts/CoreInfraAutomationAC/connectionTypes/AzureServicePrinci..._

I can't see the full path, and as such, don't know what to enter for resource_provider_name.resource_name
My only option is to skip those resources which means a large portion of the config is not documented.

@magodo
Copy link
Collaborator

magodo commented Oct 14, 2021

@simone-bennett Thank you for pointing this out. The reason those names are cut off is due to the implementation of the bubbletea list view (the terminal UI framwork I used). One way to see the full stuff is to resize your terminal size/scale. But if you are on Windows, some how the resizing will cause the UI corrupt. So you might want to do the adjustment before running the tool.

A propsal to solve this is to add some shortcuts like <- or -> to allow users move the content of the highlighted line. While this will need some work on the list view implementation.

@magodo magodo added the ui label Apr 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants