terraform-provider-coder icon indicating copy to clipboard operation
terraform-provider-coder copied to clipboard

coder_metadata places info under wrong resources with multiple agents

Open hh opened this issue 2 years ago • 8 comments

I'm not sure I can detect the flow, but it seems to place the metadata under randomly chosen resources.

https://github.com/cloudnative-coop/space-templates/tree/canon/iipod-metal

With items hidden (and logs closed) image

Unhidden: image

hh avatar Jun 17 '23 09:06 hh

I'm not sure I'm following. From your screenshots, it seems like the metadata is showing up under the proper associated resources: iipod and iibox both have their metadata under the right resources.

From your template, the iibox agent has Kubernetes version, which is showing up under the iibox resource+agent: https://github.com/cloudnative-coop/space-templates/blob/canon/iipod-metal/iibox.tf#L104-L139.

Same with iipod.

bpmct avatar Jun 17 '23 14:06 bpmct

Ah, I realize you said coder_metadata. Taking a look now

bpmct avatar Jun 17 '23 14:06 bpmct

@BrunoQuaresma - would you be able to take a look at this? Since coder_metadata explicitly mentions a resource ID, I wonder if this is a frontend thing.

bpmct avatar Jun 17 '23 14:06 bpmct

@bpmct I bumped into this while working on a devcontainer VM template.

matifali avatar Nov 16 '23 23:11 matifali

I totally missed this one because it is not on coder/coder.

BrunoQuaresma avatar Nov 16 '23 23:11 BrunoQuaresma

@BrunoQuaresma is it still on your list?

matifali avatar Aug 20 '24 07:08 matifali

It is not @matifali

BrunoQuaresma avatar Aug 20 '24 12:08 BrunoQuaresma