Closed tienphan181 closed 3 months ago
Could you please try it adding this parameter? https://github.com/cisco-open/terraform-provider-meraki/blob/main/examples/samples/resources/meraki_networks_wireless_ssids_firewall_l3_firewall_rules/resource.tf#L33
HI @fmunozmiranda, I still got the same error with adding ip_ver = "ipv4"
Hey @tienphan181 I test it like this:
resource "meraki_networks_wireless_ssids_firewall_l3_firewall_rules" "test-Terraform" {
network_id = "*********"
number = "*****"
allow_lan_access = true
rules = [
{
# comment = ""
dest_cidr = "0.0.0.0/22"
dest_port = "any"
policy = "allow"
protocol = "any"
ip_ver = "ipv4"
},
{
# comment = ""
dest_cidr = "0.0.0.0/12"
dest_port = "any"
policy = "deny"
protocol = "any"
ip_ver = "ipv4"
},
{
# comment = ""
dest_cidr = "0.0.0.0/16"
dest_port = "any"
policy = "deny"
protocol = "any"
ip_ver = "ipv4"
},
{
# comment = ""
dest_cidr = "10.0.0.0/8"
dest_port = "any"
policy = "deny"
protocol = "any"
ip_ver = "ipv4"
}
]
}
And it works for me. Could you please try it like this?
Hi @fmunozmiranda, the code works now that I don't add the two default rules at the bottom.
Another thing, is there a way for me to set the rules in a certain order? In my code, I would like to have the allow rule on top and deny at the bottom. I wrote my code that way but when I applied it, the allow rule is place in the middle of the 3 deny rules.
Thanks!
Currently, due to API idempotency issues, what you are requesting is not possible, since we receive extra data in the GET (Default rule) whenever it would be a problem to manage. Perhaps we can speak directly with Meraki API to try to achieve consistency, with respect to the order. Likewise, the request is sent to the API in the order in which it is placed, the way it is displayed in Meraki is a matter of API, not Terraform. Closing this issue, thank you for your feedback.
Describe the bug Got an error when trying to create outbound rules using 'meraki_networks_wireless_ssids_firewall_l3_firewall_rules' resource.
Error: Failure when executing UpdateNetworkWirelessSSIDFirewallL3FirewallRules │ │ with meraki_networks_wireless_ssids_firewall_l3_firewall_rules.test-Terraform, │ on firewall-rules.tf line 24, in resource "meraki_networks_wireless_ssids_firewall_l3_firewall_rules" "test-Terraform": │ 24: resource "meraki_networks_wireless_ssids_firewall_l3_firewall_rules" "test-Terraform" { │ │ error with operation UpdateNetworkWirelessSsidFirewallL3FirewallRules
Expected behavior For it to create the rules.
Debug `2024-08-15T19:01:41.342Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: 2024/08/15 19:01:41 EncryptionMode: wpa-eap 2024-08-15T19:01:41.342Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: 2024/08/15 19:01:41 Condition: true
2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: 2024/08/15 19:01:41 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: ============================================================================== 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha:
~ REQUEST ~2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-merakiv0.2.9-alpha: GET /api/v1/networks/L/wireless/ssids/1/firewall/l3FirewallRules HTTP/1.1 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: HOST : api.meraki.com 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: HEADERS: 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: Accept: application/json 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: Authorization: Bearer 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: Content-Type: application/json 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: User-Agent: go-meraki/1.44.1 MerakiTerraform/1.47.0 Cisco 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: BODY : 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: **** NO CONTENT 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: ------------------------------------------------------------------------------ 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha:~ RESPONSE ~2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: STATUS : 200 OK 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: PROTO : HTTP/2.0 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: RECEIVED AT : 2024-08-15T19:01:41.643692869Z 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: TIME DURATION: 408.14221ms 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: HEADERS :2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: Cache-Control: no-cache, no-store, max-age=0, must-revalidate 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: Content-Type: application/json; charset=utf-8 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: Date: Thu, 15 Aug 2024 19:01:41 GMT 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: Expires: Fri, 01 Jan 1990 00:00:00 GMT 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: Pragma: no-cache 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: Strict-Transport-Security: max-age=31536000; includeSubDomains 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: Vary: Accept-Encoding 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: X-Content-Type-Options: nosniff 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: X-Frame-Options: sameorigin 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: X-Request-Id: 8330d8e410fb8f62dfb8d96384eaffd1 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: X-Robots-Tag: none 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: X-Runtime: 0.114036 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: X-Xss-Protection: 1; mode=block, 1; mode=block 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: BODY : 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: { 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "rules": [ 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: { 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "comment": "", 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "ipVer": "ipv4", 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "policy": "allow", 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "protocol": "any", 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "destPort": "Any", 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "destCidr": "0.0.0.0/22" 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: }, 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: { 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "comment": "", 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "ipVer": "ipv4", 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "policy": "deny", 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "protocol": "any", 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "destPort": "Any", 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "destCidr": "0.0.0.0/12" 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: }, 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: { 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "comment": "", 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "ipVer": "ipv4", 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "policy": "deny", 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "protocol": "any", 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "destPort": "Any", 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "destCidr": "0.0.0.0/16" 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: }, 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: { 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "comment": "", 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "ipVer": "ipv4", 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "policy": "deny", 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "protocol": "any", 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "destPort": "Any", 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "destCidr": "10.0.0.0/8" 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: }, 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: { 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "comment": "Wireless clients accessing LAN", 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "ipVer": "ipv4", 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "policy": "allow", 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "protocol": "Any", 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "destPort": "Any", 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "destCidr": "Local LAN" 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: }, 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: { 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "comment": "Default rule", 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "ipVer": "ipv4", 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "policy": "allow", 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "protocol": "Any", 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "destPort": "Any", 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "destCidr": "Any" 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: } 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: ] 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: } 2024-08-15T19:01:41.644Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: ==============================================================================
2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: 2024/08/15 19:01:41 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: ============================================================================== 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha:
~ REQUEST ~2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-merakiv0.2.9-alpha: PUT /api/v1/networks/L/wireless/ssids/1/firewall/l3FirewallRules HTTP/1.1 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: HOST : api.meraki.com 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: HEADERS: 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: Accept: application/json 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: Authorization: Bearer **** 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: Content-Type: application/json 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: User-Agent: go-meraki/1.44.1 MerakiTerraform/1.47.0 Cisco 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: BODY : 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: { 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "allowLanAccess": true, 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "rules": [ 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: { 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "destCidr": "10.0.0.0/8",2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "destPort": "any", 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "policy": "deny", 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "protocol": "any" 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: }, 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: { 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "destCidr": "0.0.0.0/22", 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "destPort": "any", 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "policy": "allow", 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "protocol": "any" 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: }, 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: { 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "destCidr": "0.0.0.0/12", 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "destPort": "any", 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "policy": "deny", 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "protocol": "any" 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: }, 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: { 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "destCidr": "0.0.0.0/16", 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "destPort": "any", 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "policy": "deny", 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "protocol": "any" 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: } 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: ] 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: } 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: ------------------------------------------------------------------------------ 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha:
~ RESPONSE ~2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: STATUS : 400 Bad Request 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: PROTO : HTTP/2.0 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: RECEIVED AT : 2024-08-15T19:01:41.96079415Z 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: TIME DURATION: 316.661736ms 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: HEADERS : 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: Cache-Control: no-cache, no-store, max-age=0, must-revalidate 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: Content-Type: application/json; charset=utf-8 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: Date: Thu, 15 Aug 2024 19:01:41 GMT 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: Expires: Fri, 01 Jan 1990 00:00:00 GMT 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: Pragma: no-cache 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: Strict-Transport-Security: max-age=31536000; includeSubDomains 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: X-Content-Type-Options: nosniff 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: X-Frame-Options: sameorigin 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: X-Request-Id: 678f7be74c0d5997a4df64893a6fd0e0 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: X-Robots-Tag: none 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: X-Runtime: 0.107692 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: X-Xss-Protection: 1; mode=block 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: BODY : 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: { 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "errors": [ 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: "At least one of your firewall rules is invalid: \"ssid[firewall_rules][0][dst_cidr] For ACL rules applied to both IPv4 and IPv6, Destination address must be 'any'\", \"ssid[firewall_rules][1][dst_cidr] For ACL rules applied to both IPv4 and IPv6, Destination address must be 'any'\", \"ssid[firewall_rules][2][dst_cidr] For ACL rules applied to both IPv4 and IPv6, Destination address must be 'any'\", \"ssid[firewall_rules][3][dst_cidr] For ACL rules applied to both IPv4 and IPv6, Destination address must be 'any'\"." 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: ] 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: } 2024-08-15T19:01:41.961Z [DEBUG] provider.terraform-provider-meraki_v0.2.9-alpha: ============================================================================== 2024-08-15T19:01:41.961Z [ERROR] provider.terraform-provider-meraki_v0.2.9-alpha: Response contains error diagnostic: @caller=github.com/hashicorp/terraform-plugin-go@v0.23.0/tfprotov6/internal/diag/diagnostics.go:58 @module=sdk.proto diagnostic_severity=ERROR diagnostic_summary="Failure when executing UpdateNetworkWirelessSSIDFirewallL3FirewallRules" tf_proto_version=6.6 diagnostic_detail="error with operation UpdateNetworkWirelessSsidFirewallL3FirewallRules" tf_req_id=279f1cfb-f48a-8b04-85e4-3a8df41e357a tf_provider_addr=registry.terraform.io/CiscoDevNet/meraki tf_resource_type=meraki_networks_wireless_ssids_firewall_l3_firewall_rules tf_rpc=ApplyResourceChange timestamp=2024-08-15T19:01:41.961Z 2024-08-15T19:01:41.963Z [DEBUG] State storage *remote.State declined to persist a state snapshot 2024-08-15T19:01:41.963Z [ERROR] vertex "meraki_networks_wireless_ssids_firewall_l3_firewall_rules.test-Terraform" error: Failure when executing UpdateNetworkWirelessSSIDFirewallL3FirewallRules`Environment (please complete the following information): Terraform version: OpenTofu v1.7.2 Meraki provider version: 0.2.10-alpha OS Version: macOS 13.6.7
Additional context This is my code: `resource "meraki_networks_wireless_ssids_firewall_l3_firewall_rules" "test-Terraform" {
network_id = "xx" number = "xx" allow_lan_access = true rules = [ {
comment = ""
] }`