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_application_objects returning EDL lists instead #436

Open
lyntux opened this issue Apr 15, 2024 · 0 comments
Open

panos_application_objects returning EDL lists instead #436

lyntux opened this issue Apr 15, 2024 · 0 comments
Labels

Comments

@lyntux
Copy link

lyntux commented Apr 15, 2024

Describe the bug

When calling a data.panos_application_objects block to get the application objects in Panorama, we're getting EDL data instead. The same data as if we called a data.panos_edls block.

Expected behavior

Return data on application objects in Panorama.

Current behavior

Calling a data.panos_application_objects returns the same data as calling a data.panos_edls block.

Possible solution

Looks like the wrong variable/object/function is referenced on line 38 of the application_object.go file.

Steps to reproduce

In my main.tf I have this code block:

data "panos_application_objects" "example" {}

I get the following data returned.

# terraform plan
data.panos_application_objects.example: Reading...
data.panos_application_objects.example: Read complete after 1s [id=shared]

Changes to Outputs:
  + appgroup = {
      + device_group = "shared"
      + id           = "shared"
      + listing      = [
          + "example_edl_1",
          + "example_edl_2",
        ]
      + total        = 2
      + vsys         = "vsys1"
    }

Your Environment

Terraform v1.8.0
on windows_386
+ provider registry.terraform.io/paloaltonetworks/panos v1.11.1

@lyntux lyntux added the bug label Apr 15, 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