-
Notifications
You must be signed in to change notification settings - Fork 881
Replace var.name
with a pretty name
#4073
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
Comments
@matifali what a pretty name should be? |
For example |
Since these var names are dynamic and came from terraform I don't see how we could use better names 🤔 Any ideas? |
Yes I understand why it can't be done. Terraform HCL does not provide any field to be used for pretty ne. We can't use description as it's longer. |
cc.: @bpmct |
We have a plan to replace For example, data "coder_parameter" "cpu" {
friendly_name = "CPU Cores"
description = "Lorem ipsum"
immutable = false
}
resource "some_resource" "dev" {
cpu = data.cpu.value
} Legacy There are other ways we could do it without that (e.g. mapping common terms in the backend, replacing underscores with spaces), but I think we should wait until we have more controls with |
We should keep this issue open until there is a way to do that, though :) |
This issue is becoming stale. In order to keep the tracker readable and actionable, I'm going close to this issue in 7 days if there isn't more activity. |
This is done in the latest version |
The text was updated successfully, but these errors were encountered: