PaloAltoNetworks / pan-os-codegen

Generator for pango SDK and panos Terraform Provider
MIT License
4 stars 0 forks source link

feat: Add support for entry-style resource lists (panos_address_objects) #128

Closed kklimonda-cl closed 3 months ago

kklimonda-cl commented 3 months ago

Implement panos_address_objects as a resource where multiple address objects are modeled as maps where key is object name, and value is an object describing other parameters of the given object type:

resource "panos_address_objects" "addresses" {
  location = {
    shared = true
  }

  addresses = {
    "google-dns-primary" = { ip_netmask = "8.8.8.8/32" },
    "google-dns-primary" = { ip_netmask = "8.8.4.4/32" },
  }
}