PaloAltoNetworks / pan-os-codegen

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

panos_panorama_template removes interface import entries during update #141

Closed kklimonda-cl closed 2 months ago

kklimonda-cl commented 2 months ago

Describe the bug

SDK imports interfaces into locations during Create() and that has an effect on the templates, e.g. when both the template and the ethernet interface are managed with terraform, after initial terraform apply the following terraform apply will remove import entries from the template.

Expected behavior

We should most likely not expose imports to terraform provider, make it only visible through SDK. This however requires us to keep additional private data in the state, and sync it between provider and the SDK.

Current behavior

Possible solution

Steps to reproduce

1. 2. 3. 4.

Screenshots

Context

Your Environment