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_ethernet_interface tries to set vsys on aggregate-group mode interfaces #430

Open
iholck opened this issue Feb 26, 2024 · 0 comments
Labels

Comments

@iholck
Copy link

iholck commented Feb 26, 2024

Describe the bug

When running terraform plan on template containing an interface configured as an aggregate-group member, the provider plans to update vsys on the interface

Expected behavior

vsys is not valid on an interface configured as an aggregate-group member, so no change should be planned

Current behavior

The provider plans to update vsys on the interface

Steps to reproduce

  1. Plan and apply script configuring an ethernet interface as member of an aggregate-group:
  name = "ethernet1/1"
  template = "template1"
  mode     = "aggregate-group"
  aggregate_group = "ae1"

  lifecycle {
    create_before_destroy = true
  }
}
  1. Run Plan again.

Screenshots

 # module.interfaces.panos_panorama_ethernet_interface.aggregate-member-interfaces["template1/ethernet1/1"] will be updated in-place
  ~ resource "panos_panorama_ethernet_interface" "aggregate-member-interfaces" {
        id                              = "template1::vsys1:ethernet1/1"
        name                            = "ethernet1/1"
      ~ vsys                            = "not vsys1" -> "vsys1"
        # (20 unchanged attributes hidden)
    }

Your Environment

  • Version used: Paloaltonetworks/panos version 1.11.1, Terraform 1.6.3
  • Environment name and version : Ubuntu 20.4.5 LTS/MacOS 14.2.1
@iholck iholck added the bug label Feb 26, 2024
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

1 participant