- Notifications
You must be signed in to change notification settings - Fork928
Closed as not planned
Description
A customer reported that
resource "coder_metadata" - In the UI, this shows up in alphabetical order, whereas we would like to show up in the order we specify the keys in Terraform
But in our dogfood template, the following snippet renders in the correct order given in the template file.
resource"coder_metadata""container_info" {count=data.coder_workspace.me.start_countresource_id=docker_container.workspace[0].iditem {key="memory"value=docker_container.workspace[0].memory }item {key="runtime"value=docker_container.workspace[0].runtime }item {key="region"value=data.coder_parameter.region.option[index(data.coder_parameter.region.option.*.value, data.coder_parameter.region.value)].name }}