Open danielsreichenbach opened 4 months ago
Yes, same issue here.
Hi @danielsreichenbach, thank you for opening this issue. To me, this is more a feature rather than a bug. I will add the proper labels/title here and I will proceed with reviewing @ednxzu PR.
When creating a
maas_network_interface_physical
resource from amaas-device
I would expect the network interface to be created. The MAAS API allows this and it would be a very helpful thing to have since one could then actually assign addresses to machines not managed by MAAS itself.I would expect this to produce an interface.
As far as I can tell, this is caused by the resource relying on https://github.com/maas/terraform-provider-maas/blob/4a03d32a5a869a50868c32a26b6689c378ed877e/maas/resource_maas_machine.go#L282 when it should actually query machines and devices instead.