» panos_panorama_gre_tunnel

This resource allows you to add/update/delete Panorama GRE tunnels.

Minimum PAN-OS version: 9.0

» Import Name

<template>::<name>

» Example Usage

resource "panos_panorama_gre_tunnel" "example" {
    template = panos_panorama_template.tmpl.name
    name = "myGreTunnel"
    interface = panos_panorama_ethernet_interface.ei.name
    local_address_value = panos_panorama_ethernet_interface.ei.static_ips.0
    peer_address = "192.168.1.1"
    tunnel_interface = panos_panorama_tunnel_interface.ti.name
    ttl = 42
}

resource "panos_panorama_template" "tmpl" {
    name = "My Template"
}

resource "panos_panorama_ethernet_interface" "ei" {
    template = panos_panorama_template.tmpl.name
    name = "ethernet1/1"
    vsys = "vsys1"
    mode = "layer3"
    static_ips = ["10.1.1.1/24"]
}

resource "panos_panorama_tunnel_interface" "ti" {
    template = panos_panorama_template.tmpl.name
    name = "tunnel.7"
    vsys = "vsys1"
}

» Argument Reference

The following arguments are supported: