Skip to content

Latest commit

 

History

History
101 lines (77 loc) · 3.06 KB

File metadata and controls

101 lines (77 loc) · 3.06 KB
page_title subcategory description
netskope_gre_tunnel Resource - terraform-provider-netskope
GRE (Generic Routing Encapsulation) tunnels provide connectivity between your network infrastructure and the Netskope cloud. GRE tunnels encapsulate traffic and route it through Netskope's security services. This resource supports full CRUD operations for managing GRE tunnel configurations.

netskope_gre_tunnel (Resource)

GRE (Generic Routing Encapsulation) tunnels provide connectivity between your network infrastructure and the Netskope cloud. GRE tunnels encapsulate traffic and route it through Netskope's security services.

This resource supports full CRUD operations for managing GRE tunnel configurations.

Example Usage

resource "netskope_gre_tunnel" "my_gretunnel" {
  bandwidth = 0
  enabled   = false
  notes     = "...my_notes..."
  options = {
    xff = {
      xff_enabled = false
      xff_ip_list = [
        "..."
      ]
    }
  }
  pop_names = [
    "..."
  ]
  site        = "...my_site..."
  source_ip   = "...my_source_ip..."
  source_type = "Machine"
  template    = "...my_template..."
  vendor      = "...my_vendor..."
}

Schema

Required

  • pop_names (List of String) List of POP names to connect to (use data source netskope_gre_pops_list to get available POPs)
  • site (String) Site name for the tunnel - used to identify the tunnel location
  • source_ip (String) Source IP address identity - the public IP of your GRE tunnel endpoint

Optional

  • bandwidth (Number) Bandwidth limit in Mbps. Default: 1000
  • enabled (Boolean) Whether to enable the tunnel. Default: true
  • notes (String) User-provided notes for the tunnel
  • options (Attributes) Advanced tunnel options (see below for nested schema)
  • source_type (String) Source device type. must be one of ["User", "Machine", "IoT", "Guest Wifi", "Mixed"]
  • template (String) Configuration template name
  • vendor (String) Network equipment vendor name

Read-Only

  • tunnel_id (Number) GRE tunnel ID

Nested Schema for options

Optional:

Nested Schema for options.xff

Optional:

  • xff_enabled (Boolean) Enable X-Forwarded-For header insertion. Default: false
  • xff_ip_list (List of String) List of IP addresses for XFF header

Import

Import is supported using the following syntax:

In Terraform v1.5.0 and later, the import block can be used with the id attribute, for example:

import {
  to = netskope_gre_tunnel.my_netskope_gre_tunnel
  id = 0
}

The terraform import command can be used, for example:

terraform import netskope_gre_tunnel.my_netskope_gre_tunnel 0