CiscoDevNet / terraform-provider-fmc

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

Enhancement: resource "fmc_device_physical_interfaces" takes only numeric value for subnet mask #147

Open mmaciejc opened 10 months ago

mmaciejc commented 10 months ago

resource "fmc_device_physical_interfaces" takes only numeric value

ipv4_static_netmask (Number) IPv4 Static address netmask

In FMC GUI and via AP we can provide the string: AP

  "ipv4": {
    "static": {
      "address": "string",
      "netmask": "string",
    }
  }

Both are accepted via API:

          "ipv4": {
            "static": {
                "address": "100.64.202.1",
                "netmask": "24"
            }
        },

        "ipv4": {
            "static": {
                "address": "100.64.201.1",
                "netmask": "255.255.255.0"
            }
        },