You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For ease of readability, I want the name argument to be the first item in a resource block. I've been painstakingly moving these manually. It looks like the arguments are being populated in alphabetic order currently, which is fine, but I still want the name to be first. Having the name first also seems to be the Terraform standard.
Current behavior:
resource "azurerm_foo" "bar" {
baz = "xyzzy"
corge = "plugh"
name = "waldo"
quux = "thud"
}
@wylie-ucb This sounds like out of scope of this tool, but can make another dedicated tool for this kind of customization ordering/formatting. I'll still mark this issue as "enhancement" to remind me to work on this if I have bandwidth.
For ease of readability, I want the name argument to be the first item in a resource block. I've been painstakingly moving these manually. It looks like the arguments are being populated in alphabetic order currently, which is fine, but I still want the name to be first. Having the name first also seems to be the Terraform standard.
Current behavior:
resource "azurerm_foo" "bar" {
baz = "xyzzy"
corge = "plugh"
name = "waldo"
quux = "thud"
}
Desired behavior:
resource "azurerm_foo" "bar" {
name = "waldo"
baz = "xyzzy"
corge = "plugh"
quux = "thud"
}
The text was updated successfully, but these errors were encountered: