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
As discussed with @skatsaounis something like this would be handy
resource "maas_tag" "foundation_nodes" {
name = "foundation-nodes"
}
data "maas_machine" "machines" {
for_each = maas_tag.foundation_nodes.machines
}
Currently it errors with
$ terraform import maas_tag.foundation_nodes foundation-nodes
maas_tag.foundation_nodes: Importing from ID "foundation-nodes"...
maas_tag.foundation_nodes: Import prepared!
Prepared maas_tag for import
maas_tag.foundation_nodes: Refreshing state... [id=foundation-nodes]
╷
│ Error: Invalid combination of arguments
│
│ with data.maas_machine.machines["4f8b7c"],
│ on /home/ubuntu/project/generated/sunbeam/generated.tf line 24, in data "maas_machine" "machines":
│ 24: data "maas_machine" "machines" {
│
│ "pxe_mac_address": one of `hostname,pxe_mac_address` must be specified
╵
╷
│ Error: Invalid combination of arguments
│
│ with data.maas_machine.machines["4f8b7c"],
│ on /home/ubuntu/project/generated/sunbeam/generated.tf line 24, in data "maas_machine" "machines":
│ 24: data "maas_machine" "machines" {
│
│ "hostname": one of `hostname,pxe_mac_address` must be specified
╵
...
The text was updated successfully, but these errors were encountered:
As discussed with @skatsaounis something like this would be handy
Currently it errors with
The text was updated successfully, but these errors were encountered: