Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

panos_panorama_bgp_import_rule_group and panos_panorama_bgp_export_rule_group cannot have multiple rule sections #420

Open
jolo01 opened this issue Nov 13, 2023 · 1 comment
Labels

Comments

@jolo01
Copy link

jolo01 commented Nov 13, 2023

I get an error when using more then one rule section in panos_panorama_bgp_import_rule_group and panos_panorama_bgp_export_rule_group using the latest version of everything.

test1 and test2 works fine if you only use one of them but adding them both gives you an error.

resource “panos_panorama_bgp_import_rule_group” “main” {
  template       = “SomeTemplate”
  virtual_router = “default”

  rule {
    name = “test1”
    match_address_prefix {
      prefix = “10.1.0.0/24"
    }
  }

  rule {
    name = “test2”
    match_address_prefix {
      prefix = “10.2.0.0/24"
    }
  }
} 

Error: The request could not be handled

│ with module.bgp_export_rules.panos_panorama_bgp_export_rule_group.main,
│ on ../../modules/bgp_export_rule/main.tf line 1, in resource "panos_panorama_bgp_export_rule_group" "main":
│ 1: resource "panos_panorama_bgp_export_rule_group" "main" {

Looking at the configuration logs you can see that the edit and set commands succeeds but the move command fails.

We use the same rules as we do with panos_bgp_import_rule_group and panos_bgp_export_rule_group and here they work fine.

Can we get some help on this? Any experienced something similar?

@jolo01 jolo01 added the bug label Nov 13, 2023
@bond
Copy link

bond commented Jan 29, 2024

Seems to be a bug in Panorama on version 11. Have reproduced it on Postman with API-call. This worked fine in Panorama version 10.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants