CiscoDevNet / terraform-provider-fmc

Terraform Provider for FMC
https://registry.terraform.io/providers/CiscoDevNet/fmc/latest/docs
Mozilla Public License 2.0
16 stars 31 forks source link

resource fmc_staticIPv4_route takes single element as selected_network #145

Open mmaciejc opened 1 year ago

mmaciejc commented 1 year ago

The resource: fmc_staticIPv4_route takes only one object as selected_networks where list is supported over API:

selected_networks {
  id = data.fmc_network_objects.nw.id
  type = data.fmc_network_objects.nw.type
  name = data.fmc_network_objects.nw.name
  }

Via API/GUI we can provide multiple:

"selectedNetworks": [
  {
    "type": "Host",
    "id": "networkHostUuid",
    "name": "Host1"
  }
]
205101-retr0 commented 11 months ago

This is now fixed and you can add up to 100 objects in using the terraform in the next release.