<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Terraform Meraki MX L3 firewall rules order in Network Platform API</title>
    <link>https://community.cisco.com/t5/network-platform-api/terraform-meraki-mx-l3-firewall-rules-order/m-p/5412786#M2237</link>
    <description>&lt;P&gt;It is indeed an array.&lt;/P&gt;&lt;P&gt;This is the terraform resource for L3 firewall rules.&lt;/P&gt;&lt;PRE class="lia-code-sample language-markup"&gt;&lt;CODE&gt;resource "meraki_networks_appliance_firewall_l3_firewall_rules" "sb3_fw_l3" {

  network_id = meraki_networks.sb3.id
  rules = [{

    comment        = "Deny-RFC1918."
    dest_cidr      = "10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16"
    dest_port      = "any"
    policy         = "deny"
    protocol       = "any"
    src_cidr       = "any"
    src_port       = "any"
    syslog_enabled = false
  },
  {

    comment        = "Allow-corp-outbound-to-internet."
    dest_cidr      = "any"
    dest_port      = "any"
    policy         = "allow"
    protocol       = "any"
    src_cidr       = var.subnet_prefix_corp
    src_port       = "any"
    syslog_enabled = false
  },
  {

    comment        = "Allow-iot-outbound-to-internet."
    dest_cidr      = "any"
    dest_port      = "any"
    policy         = "allow"
    protocol       = "any"
    src_cidr       = var.subnet_prefix_iot
    src_port       = "any"
    syslog_enabled = false
  },
  {

    comment        = "Allow-guest-outbound-to-internet."
    dest_cidr      = "any"
    dest_port      = "any"
    policy         = "allow"
    protocol       = "any"
    src_cidr       = var.subnet_prefix_guest
    src_port       = "any"
    syslog_enabled = false
  }
  ]
}&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This is how it ends up in the Dashboard.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Skjermbilde 2025-07-17 211131.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/264438iDDBE8AA6F0609996/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I deleted all rules above and pasted the same array into postman.&lt;BR /&gt;Postman body:&lt;/P&gt;&lt;PRE class="lia-code-sample language-markup"&gt;&lt;CODE&gt;{
    "rules": [
        {
            "policy": "deny",
            "protocol": "any",
            "srcCidr": "any",
            "destCidr": "10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16",
            "comment": "Deny-RFC1918.",
            "srcPort": "any",
            "destPort": "any",
            "syslogEnabled": false
        },
        {
            "policy": "allow",
            "protocol": "any",
            "srcCidr": "10.100.2.0/24",
            "destCidr": "any",
            "comment": "Allow-corp-outbound-to-internet.",
            "srcPort": "any",
            "destPort": "any",
            "syslogEnabled": false
        },
        {
            "policy": "allow",
            "protocol": "any",
            "srcCidr": "10.110.2.0/24",
            "destCidr": "any",
            "comment": "Allow-iot-outbound-to-internet.",
            "srcPort": "any",
            "destPort": "any",
            "syslogEnabled": false
        },
        {
            "policy": "allow",
            "protocol": "any",
            "srcCidr": "10.120.2.0/24",
            "destCidr": "any",
            "comment": "Allow-guest-outbound-to-internet.",
            "srcPort": "any",
            "destPort": "any",
            "syslogEnabled": false
        }
    ]
}&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Postman response:&lt;/P&gt;&lt;PRE class="lia-code-sample language-markup"&gt;&lt;CODE&gt;200 OK

"rules": [
        {
            "comment": "Deny-RFC1918.",
            "policy": "deny",
            "protocol": "any",
            "srcPort": "Any",
            "srcCidr": "Any",
            "destPort": "Any",
            "destCidr": "10.0.0.0/8,172.16.0.0/12,192.168.0.0/16",
            "syslogEnabled": false
        },
        {
            "comment": "Allow-corp-outbound-to-internet.",
            "policy": "allow",
            "protocol": "any",
            "srcPort": "Any",
            "srcCidr": "10.100.2.0/24",
            "destPort": "Any",
            "destCidr": "Any",
            "syslogEnabled": false
        },
        {
            "comment": "Allow-iot-outbound-to-internet.",
            "policy": "allow",
            "protocol": "any",
            "srcPort": "Any",
            "srcCidr": "10.110.2.0/24",
            "destPort": "Any",
            "destCidr": "Any",
            "syslogEnabled": false
        },
        {
            "comment": "Allow-guest-outbound-to-internet.",
            "policy": "allow",
            "protocol": "any",
            "srcPort": "Any",
            "srcCidr": "10.120.2.0/24",
            "destPort": "Any",
            "destCidr": "Any",
            "syslogEnabled": false
        },
        {
            "comment": "Default rule",
            "policy": "allow",
            "protocol": "Any",
            "srcPort": "Any",
            "srcCidr": "Any",
            "destPort": "Any",
            "destCidr": "Any",
            "syslogEnabled": false
        }
    ]
}&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Dashboard:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Skjermbilde 2025-07-17 210813.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/264439i5550ADB9BABEDE98/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Everything is identical in the array. The only difference is how i populate the fields in terraform. I'm just pointing to some variables defined in variables.tf&lt;/P&gt;&lt;P&gt;Here they are:&lt;/P&gt;&lt;PRE class="lia-code-sample language-markup"&gt;&lt;CODE&gt;variable "subnet_prefix_corp" {
    type = string
    default = "10.100.2.0/24"
}

variable "appliance_ip_corp" {
    type = string
    default = "10.100.2.1"
}

variable "subnet_prefix_iot" {
    type = string
    default = "10.110.2.0/24"
}

variable "appliance_ip_iot" {
    type = string
    default = "10.110.2.1"
}

variable "subnet_prefix_guest" {
    type = string
    default = "10.120.2.0/24"
}

variable "appliance_ip_guest" {
    type = string
    default = "10.120.2.1"
}

variable "subnet_prefix_mgmt" {
    type = string
    default = "10.130.2.0/24"
}

variable "appliance_ip_mgmt" {
    type = string
    default = "10.130.2.1"
}&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;It looks like Terraform is somehow re-ordering the array. But i'm not sure how or why &lt;SPAN class="lia-unicode-emoji" title=":confused_face:"&gt;&lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/SPAN&gt; &lt;/P&gt;</description>
    <pubDate>Thu, 17 Jul 2025 19:07:05 GMT</pubDate>
    <dc:creator>martin-lystad</dc:creator>
    <dc:date>2025-07-17T19:07:05Z</dc:date>
    <item>
      <title>Terraform Meraki MX L3 firewall rules order</title>
      <link>https://community.cisco.com/t5/network-platform-api/terraform-meraki-mx-l3-firewall-rules-order/m-p/5412783#M2234</link>
      <description>&lt;P&gt;Hi gang,&lt;/P&gt;&lt;P&gt;I'm working on a full IaC deployment of a Meraki organization using terraform. &lt;/P&gt;&lt;P&gt;I notice some issues with the firewall L3 rule ordering when applying the terraform code.&lt;/P&gt;&lt;P&gt;Since terraform applies all code at the same time unless a dependency is decleared the 10 or so starting rules i have end up in a random order. For the most part i dont care about rule order, but i got some deny rules that must be placed in a spesific sequence.&lt;/P&gt;&lt;P&gt;I notice that the API endpoint for L3 FW rules also does not contain any parameters for sequence.&lt;/P&gt;&lt;P&gt;Has anyone worked around this in a way that is scaleable?&lt;/P&gt;&lt;P&gt;Also if some meraki employees read this, is it possible to add a feature request for firewall sequence numbering?&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jul 2025 06:59:06 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/terraform-meraki-mx-l3-firewall-rules-order/m-p/5412783#M2234</guid>
      <dc:creator>martin-lystad</dc:creator>
      <dc:date>2025-07-17T06:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: Terraform Meraki MX L3 firewall rules order</title>
      <link>https://community.cisco.com/t5/network-platform-api/terraform-meraki-mx-l3-firewall-rules-order/m-p/5412784#M2235</link>
      <description>&lt;P&gt;You can try using a script (e.g., Python or Bash) that calls the Meraki API directly in the desired order. Terraform can trigger this script using the null_resource provisioner and local-exec.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jul 2025 13:01:39 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/terraform-meraki-mx-l3-firewall-rules-order/m-p/5412784#M2235</guid>
      <dc:creator>aleabrahao</dc:creator>
      <dc:date>2025-07-17T13:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: Terraform Meraki MX L3 firewall rules order</title>
      <link>https://community.cisco.com/t5/network-platform-api/terraform-meraki-mx-l3-firewall-rules-order/m-p/5412785#M2236</link>
      <description>&lt;P&gt;Question. When using &lt;SPAN&gt;updateNetworkApplianceFirewallL3FirewallRules, the input is an array of rules.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Are you seeing different behavior between Terraform, Postman, Python, etc’?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If so, can you share the Terraform plan you’re using?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jul 2025 13:13:47 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/terraform-meraki-mx-l3-firewall-rules-order/m-p/5412785#M2236</guid>
      <dc:creator>obrigg</dc:creator>
      <dc:date>2025-07-17T13:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: Terraform Meraki MX L3 firewall rules order</title>
      <link>https://community.cisco.com/t5/network-platform-api/terraform-meraki-mx-l3-firewall-rules-order/m-p/5412786#M2237</link>
      <description>&lt;P&gt;It is indeed an array.&lt;/P&gt;&lt;P&gt;This is the terraform resource for L3 firewall rules.&lt;/P&gt;&lt;PRE class="lia-code-sample language-markup"&gt;&lt;CODE&gt;resource "meraki_networks_appliance_firewall_l3_firewall_rules" "sb3_fw_l3" {

  network_id = meraki_networks.sb3.id
  rules = [{

    comment        = "Deny-RFC1918."
    dest_cidr      = "10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16"
    dest_port      = "any"
    policy         = "deny"
    protocol       = "any"
    src_cidr       = "any"
    src_port       = "any"
    syslog_enabled = false
  },
  {

    comment        = "Allow-corp-outbound-to-internet."
    dest_cidr      = "any"
    dest_port      = "any"
    policy         = "allow"
    protocol       = "any"
    src_cidr       = var.subnet_prefix_corp
    src_port       = "any"
    syslog_enabled = false
  },
  {

    comment        = "Allow-iot-outbound-to-internet."
    dest_cidr      = "any"
    dest_port      = "any"
    policy         = "allow"
    protocol       = "any"
    src_cidr       = var.subnet_prefix_iot
    src_port       = "any"
    syslog_enabled = false
  },
  {

    comment        = "Allow-guest-outbound-to-internet."
    dest_cidr      = "any"
    dest_port      = "any"
    policy         = "allow"
    protocol       = "any"
    src_cidr       = var.subnet_prefix_guest
    src_port       = "any"
    syslog_enabled = false
  }
  ]
}&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This is how it ends up in the Dashboard.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Skjermbilde 2025-07-17 211131.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/264438iDDBE8AA6F0609996/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I deleted all rules above and pasted the same array into postman.&lt;BR /&gt;Postman body:&lt;/P&gt;&lt;PRE class="lia-code-sample language-markup"&gt;&lt;CODE&gt;{
    "rules": [
        {
            "policy": "deny",
            "protocol": "any",
            "srcCidr": "any",
            "destCidr": "10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16",
            "comment": "Deny-RFC1918.",
            "srcPort": "any",
            "destPort": "any",
            "syslogEnabled": false
        },
        {
            "policy": "allow",
            "protocol": "any",
            "srcCidr": "10.100.2.0/24",
            "destCidr": "any",
            "comment": "Allow-corp-outbound-to-internet.",
            "srcPort": "any",
            "destPort": "any",
            "syslogEnabled": false
        },
        {
            "policy": "allow",
            "protocol": "any",
            "srcCidr": "10.110.2.0/24",
            "destCidr": "any",
            "comment": "Allow-iot-outbound-to-internet.",
            "srcPort": "any",
            "destPort": "any",
            "syslogEnabled": false
        },
        {
            "policy": "allow",
            "protocol": "any",
            "srcCidr": "10.120.2.0/24",
            "destCidr": "any",
            "comment": "Allow-guest-outbound-to-internet.",
            "srcPort": "any",
            "destPort": "any",
            "syslogEnabled": false
        }
    ]
}&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Postman response:&lt;/P&gt;&lt;PRE class="lia-code-sample language-markup"&gt;&lt;CODE&gt;200 OK

"rules": [
        {
            "comment": "Deny-RFC1918.",
            "policy": "deny",
            "protocol": "any",
            "srcPort": "Any",
            "srcCidr": "Any",
            "destPort": "Any",
            "destCidr": "10.0.0.0/8,172.16.0.0/12,192.168.0.0/16",
            "syslogEnabled": false
        },
        {
            "comment": "Allow-corp-outbound-to-internet.",
            "policy": "allow",
            "protocol": "any",
            "srcPort": "Any",
            "srcCidr": "10.100.2.0/24",
            "destPort": "Any",
            "destCidr": "Any",
            "syslogEnabled": false
        },
        {
            "comment": "Allow-iot-outbound-to-internet.",
            "policy": "allow",
            "protocol": "any",
            "srcPort": "Any",
            "srcCidr": "10.110.2.0/24",
            "destPort": "Any",
            "destCidr": "Any",
            "syslogEnabled": false
        },
        {
            "comment": "Allow-guest-outbound-to-internet.",
            "policy": "allow",
            "protocol": "any",
            "srcPort": "Any",
            "srcCidr": "10.120.2.0/24",
            "destPort": "Any",
            "destCidr": "Any",
            "syslogEnabled": false
        },
        {
            "comment": "Default rule",
            "policy": "allow",
            "protocol": "Any",
            "srcPort": "Any",
            "srcCidr": "Any",
            "destPort": "Any",
            "destCidr": "Any",
            "syslogEnabled": false
        }
    ]
}&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Dashboard:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Skjermbilde 2025-07-17 210813.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/264439i5550ADB9BABEDE98/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Everything is identical in the array. The only difference is how i populate the fields in terraform. I'm just pointing to some variables defined in variables.tf&lt;/P&gt;&lt;P&gt;Here they are:&lt;/P&gt;&lt;PRE class="lia-code-sample language-markup"&gt;&lt;CODE&gt;variable "subnet_prefix_corp" {
    type = string
    default = "10.100.2.0/24"
}

variable "appliance_ip_corp" {
    type = string
    default = "10.100.2.1"
}

variable "subnet_prefix_iot" {
    type = string
    default = "10.110.2.0/24"
}

variable "appliance_ip_iot" {
    type = string
    default = "10.110.2.1"
}

variable "subnet_prefix_guest" {
    type = string
    default = "10.120.2.0/24"
}

variable "appliance_ip_guest" {
    type = string
    default = "10.120.2.1"
}

variable "subnet_prefix_mgmt" {
    type = string
    default = "10.130.2.0/24"
}

variable "appliance_ip_mgmt" {
    type = string
    default = "10.130.2.1"
}&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;It looks like Terraform is somehow re-ordering the array. But i'm not sure how or why &lt;SPAN class="lia-unicode-emoji" title=":confused_face:"&gt;&lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/SPAN&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 17 Jul 2025 19:07:05 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/terraform-meraki-mx-l3-firewall-rules-order/m-p/5412786#M2237</guid>
      <dc:creator>martin-lystad</dc:creator>
      <dc:date>2025-07-17T19:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: Terraform Meraki MX L3 firewall rules order</title>
      <link>https://community.cisco.com/t5/network-platform-api/terraform-meraki-mx-l3-firewall-rules-order/m-p/5412787#M2238</link>
      <description>&lt;P&gt;Wrap your rules in a &lt;STRONG&gt;tolist()&lt;/STRONG&gt; to force Terraform to treat it as an ordered list.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jul 2025 19:37:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/terraform-meraki-mx-l3-firewall-rules-order/m-p/5412787#M2238</guid>
      <dc:creator>aleabrahao</dc:creator>
      <dc:date>2025-07-17T19:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: Terraform Meraki MX L3 firewall rules order</title>
      <link>https://community.cisco.com/t5/network-platform-api/terraform-meraki-mx-l3-firewall-rules-order/m-p/5412788#M2239</link>
      <description>&lt;P&gt;Thanks for the tip, but unfortunately it did not solve the issue.&lt;/P&gt;&lt;P&gt;rules wrapped in a tolist using locals:&lt;/P&gt;&lt;PRE class="lia-code-sample language-markup"&gt;&lt;CODE&gt;locals {
  firewall_rules = tolist([
    {
      comment        = "Deny-RFC1918."
      dest_cidr      = "10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16"
      dest_port      = "any"
      policy         = "deny"
      protocol       = "any"
      src_cidr       = "any"
      src_port       = "any"
      syslog_enabled = false
    },
    {
      comment        = "Allow-corp-outbound-to-internet."
      dest_cidr      = "any"
      dest_port      = "any"
      policy         = "allow"
      protocol       = "any"
      src_cidr       = var.subnet_prefix_corp
      src_port       = "any"
      syslog_enabled = false
    },
    {
      comment        = "Allow-iot-outbound-to-internet."
      dest_cidr      = "any"
      dest_port      = "any"
      policy         = "allow"
      protocol       = "any"
      src_cidr       = var.subnet_prefix_iot
      src_port       = "any"
      syslog_enabled = false
    },
    {
      comment        = "Allow-guest-outbound-to-internet."
      dest_cidr      = "any"
      dest_port      = "any"
      policy         = "allow"
      protocol       = "any"
      src_cidr       = var.subnet_prefix_guest
      src_port       = "any"
      syslog_enabled = false
    }
  ])
}


resource "meraki_networks_appliance_firewall_l3_firewall_rules" "sb3_fw_l3" {

  network_id = meraki_networks.sb3.id
  rules      = local.firewall_rules
}&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Dashboard:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Skjermbilde 2025-07-17 220959.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/264440i97F6503321F816E5/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Copy of the state file block for firewall rules.&lt;/P&gt;&lt;PRE class="lia-code-sample language-markup"&gt;&lt;CODE&gt;{
      "mode": "managed",
      "type": "meraki_networks_appliance_firewall_l3_firewall_rules",
      "name": "sb3_fw_l3",
      "provider": "provider[\"registry.terraform.io/cisco-open/meraki\"]",
      "instances": [
        {
          "schema_version": 0,
          "attributes": {
            "network_id": "xxxxxxxxxx",
            "rules": [
              {
                "comment": "Allow-corp-outbound-to-internet.",
                "dest_cidr": "any",
                "dest_port": "any",
                "policy": "allow",
                "protocol": "any",
                "src_cidr": "10.100.2.0/24",
                "src_port": "any",
                "syslog_enabled": false
              },
              {
                "comment": "Allow-guest-outbound-to-internet.",
                "dest_cidr": "any",
                "dest_port": "any",
                "policy": "allow",
                "protocol": "any",
                "src_cidr": "10.120.2.0/24",
                "src_port": "any",
                "syslog_enabled": false
              },
              {
                "comment": "Allow-iot-outbound-to-internet.",
                "dest_cidr": "any",
                "dest_port": "any",
                "policy": "allow",
                "protocol": "any",
                "src_cidr": "10.110.2.0/24",
                "src_port": "any",
                "syslog_enabled": false
              },
              {
                "comment": "Deny-RFC1918.",
                "dest_cidr": "10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16",
                "dest_port": "any",
                "policy": "deny",
                "protocol": "any",
                "src_cidr": "any",
                "src_port": "any",
                "syslog_enabled": false
              }
            ],
            "rules_response": [
              {
                "comment": "Allow-corp-outbound-to-internet.",
                "dest_cidr": "Any",
                "dest_port": "Any",
                "policy": "allow",
                "protocol": "any",
                "src_cidr": "10.100.2.0/24",
                "src_port": "Any",
                "syslog_enabled": false
              },
              {
                "comment": "Allow-guest-outbound-to-internet.",
                "dest_cidr": "Any",
                "dest_port": "Any",
                "policy": "allow",
                "protocol": "any",
                "src_cidr": "10.120.2.0/24",
                "src_port": "Any",
                "syslog_enabled": false
              },
              {
                "comment": "Allow-iot-outbound-to-internet.",
                "dest_cidr": "Any",
                "dest_port": "Any",
                "policy": "allow",
                "protocol": "any",
                "src_cidr": "10.110.2.0/24",
                "src_port": "Any",
                "syslog_enabled": false
              },
              {
                "comment": "Default rule",
                "dest_cidr": "Any",
                "dest_port": "Any",
                "policy": "allow",
                "protocol": "Any",
                "src_cidr": "Any",
                "src_port": "Any",
                "syslog_enabled": false
              },
              {
                "comment": "Deny-RFC1918.",
                "dest_cidr": "10.0.0.0/8,172.16.0.0/12,192.168.0.0/16",
                "dest_port": "Any",
                "policy": "deny",
                "protocol": "any",
                "src_cidr": "Any",
                "src_port": "Any",
                "syslog_enabled": false
              }
            ],
            "syslog_default_rule": null
          },
          "sensitive_attributes": [],
          "identity_schema_version": 0,
          "dependencies": [
            "meraki_networks.sb3"
          ]
        }
      ]
    }&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The order in the statefile matches what i see in the dashboard. I just dont get why it reorders the array.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jul 2025 20:10:55 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/terraform-meraki-mx-l3-firewall-rules-order/m-p/5412788#M2239</guid>
      <dc:creator>martin-lystad</dc:creator>
      <dc:date>2025-07-17T20:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: Terraform Meraki MX L3 firewall rules order</title>
      <link>https://community.cisco.com/t5/network-platform-api/terraform-meraki-mx-l3-firewall-rules-order/m-p/5412789#M2240</link>
      <description>&lt;P&gt;Can you kindly open an issue on our &lt;A href="https://github.com/cisco-open/terraform-provider-meraki" target="_blank" rel="noopener nofollow noreferrer"&gt;GitHub repo&lt;/A&gt;? Our developers will take a look.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jul 2025 20:15:30 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/terraform-meraki-mx-l3-firewall-rules-order/m-p/5412789#M2240</guid>
      <dc:creator>obrigg</dc:creator>
      <dc:date>2025-07-17T20:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: Terraform Meraki MX L3 firewall rules order</title>
      <link>https://community.cisco.com/t5/network-platform-api/terraform-meraki-mx-l3-firewall-rules-order/m-p/5412790#M2241</link>
      <description>&lt;P&gt;With the debug information, please.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jul 2025 20:16:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/terraform-meraki-mx-l3-firewall-rules-order/m-p/5412790#M2241</guid>
      <dc:creator>obrigg</dc:creator>
      <dc:date>2025-07-17T20:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: Terraform Meraki MX L3 firewall rules order</title>
      <link>https://community.cisco.com/t5/network-platform-api/terraform-meraki-mx-l3-firewall-rules-order/m-p/5412791#M2242</link>
      <description>&lt;P&gt;Done. Here is a link to the issue.&lt;/P&gt;&lt;P&gt;Thanks for the replies &lt;SPAN class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://github.com/cisco-open/terraform-provider-meraki/issues/274" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/cisco-open/terraform-provider-meraki/issues/274&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jul 2025 20:42:50 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/terraform-meraki-mx-l3-firewall-rules-order/m-p/5412791#M2242</guid>
      <dc:creator>martin-lystad</dc:creator>
      <dc:date>2025-07-17T20:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: Terraform Meraki MX L3 firewall rules order</title>
      <link>https://community.cisco.com/t5/network-platform-api/terraform-meraki-mx-l3-firewall-rules-order/m-p/5412792#M2243</link>
      <description>&lt;P&gt;Fyi there is a commit do the dev branch of the repo with a possible solution now. &lt;SPAN class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jul 2025 19:12:30 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/terraform-meraki-mx-l3-firewall-rules-order/m-p/5412792#M2243</guid>
      <dc:creator>martin-lystad</dc:creator>
      <dc:date>2025-07-21T19:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: Terraform Meraki MX L3 firewall rules order</title>
      <link>https://community.cisco.com/t5/network-platform-api/terraform-meraki-mx-l3-firewall-rules-order/m-p/5412793#M2244</link>
      <description>&lt;P&gt;And now its merged with main. New provider version 1.1.7-beta is out &lt;SPAN class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks everyone!&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jul 2025 20:54:06 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/terraform-meraki-mx-l3-firewall-rules-order/m-p/5412793#M2244</guid>
      <dc:creator>martin-lystad</dc:creator>
      <dc:date>2025-07-21T20:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: Terraform Meraki MX L3 firewall rules order</title>
      <link>https://community.cisco.com/t5/network-platform-api/terraform-meraki-mx-l3-firewall-rules-order/m-p/5412794#M2245</link>
      <description>&lt;P&gt;Happy coding!&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jul 2025 22:47:02 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/terraform-meraki-mx-l3-firewall-rules-order/m-p/5412794#M2245</guid>
      <dc:creator>obrigg</dc:creator>
      <dc:date>2025-07-21T22:47:02Z</dc:date>
    </item>
  </channel>
</rss>

