terraform-provider-panos
terraform-provider-panos copied to clipboard
Static Routes created in template stack delete statis routes inherited from parent template
Describe the bug
You have template and template stack inheriting from that template. If you create static routes in the template and then afterwards you create some additional static routes in the template stack, the static routes from the template no longer appear on the virtual router in the template stack
Expected behavior
Via GUI when you override virtual router in template stack in order to add additional static route, it keeps all inherited static routes from the main template
Current behavior
You have template and template stack inheriting from that template. If you create static routes in the template and then afterwards you create some additional static routes in the template stack, the static routes from the template no longer appear on the virtual router in the template stack
Possible solution
Steps to reproduce
Create static routes in template, and then create static routes in template stack
Screenshots
Context
Your Environment
- Version used:
- Environment name and version (e.g. Chrome 59, node.js 5.4, python 3.7.3):
- Operating System and version (desktop or mobile):
- Link to your project:
:tada: Thanks for opening your first issue here! Welcome to the community!
Hi, can you please share a plan file that shows what you're describing?
Hello, sorry for the late reply. Unfortunately it is not seen in the plan. I have attached the tf file to configure it and plan what it shows it will configure. plan.txt tf_code.txt
We configure one static route under template and one static route under template stack. So under template_stack we should be seeing both routes but we are seeing single route (created by template_stack object).
When the same operations are done in GUI, this doesn't happen.
Template routing table
Template stack routing table