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
When creating a maas_network_interface_physical resource from a maas-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.
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.
skatsaounis
changed the title
Bug: maas_network_interface_physical should work for devices
feat: maas_network_interface_physical should work for devices
May 22, 2024
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.
The text was updated successfully, but these errors were encountered: