File tree Expand file tree Collapse file tree 2 files changed +468
-127
lines changed
examples/resources/panos_zone Expand file tree Collapse file tree 2 files changed +468
-127
lines changed Original file line number Diff line number Diff line change 11
22resource "panos_zone" "zone" {
3- depends_on = [
4- panos_ethernet_interface . iface1 , panos_ethernet_interface . iface2
5- ]
6-
73 location = {
84 template = {
95 name = panos_template.example.name
@@ -22,7 +18,11 @@ resource "panos_zone" "zone" {
2218 enable_user_identification = true
2319
2420 network = {
25- layer3 = [" ethernet1/1" , " ethernet1/2" ]
21+ layer3 = [
22+ panos_ethernet_interface.iface1.name,
23+ panos_ethernet_interface.iface2.name,
24+ panos_tunnel_interface.iface3.name,
25+ ]
2626 enable_packet_buffer_protection = true
2727 }
2828}
@@ -49,7 +49,6 @@ resource "panos_ethernet_interface" "iface1" {
4949}
5050
5151resource "panos_ethernet_interface" "iface2" {
52-
5352 location = {
5453 template = {
5554 name = panos_template.example.name
@@ -62,3 +61,12 @@ resource "panos_ethernet_interface" "iface2" {
6261 layer3 = {}
6362}
6463
64+ resource "panos_tunnel_interface" "iface3" {
65+ location = {
66+ template = {
67+ name = panos_template.example.name
68+ }
69+ }
70+
71+ name = " tunnel.1"
72+ }
You can’t perform that action at this time.
0 commit comments