panos_panorama_bgp_import_rule_group and panos_panorama_bgp_export_rule_group cannot have multiple rule sections

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

panos_panorama_bgp_import_rule_group and panos_panorama_bgp_export_rule_group cannot have multiple rule sections

L0 Member

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 on stand alone firewalls

and here they work fine.

We are suspecting there is a bug with the panos_panorama provider, and ideas how this can be fixed please? 

0 REPLIES 0
  • 514 Views
  • 0 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!