Skip to content

Latest commit

 

History

History
104 lines (81 loc) · 2.52 KB

File metadata and controls

104 lines (81 loc) · 2.52 KB
page_title subcategory description
netskope_ip_sec_tunnel Resource - terraform-provider-netskope
IPSecTunnel Resource

netskope_ip_sec_tunnel (Resource)

IPSecTunnel Resource

Example Usage

resource "netskope_ip_sec_tunnel" "my_ipsectunnel" {
  bandwidth  = 2
  enabled    = true
  encryption = "...my_encryption..."
  notes      = "...my_notes..."
  options = {
    reauth = true
    rekey  = false
    xff = {
      enabled = true
      iplist = [
        "..."
      ]
    }
  }
  pop_names = [
    "..."
  ]
  psk             = "...my_psk..."
  site            = "...my_site..."
  source_identity = "...my_source_identity..."
  source_ip       = "...my_source_ip..."
  source_type     = "...my_source_type..."
  template        = "...my_template..."
  vendor          = "...my_vendor..."
}

Schema

Required

  • pop_names (List of String) List of POP names
  • site (String) Site name for the tunnel
  • source_ip (String) Source IP identity

Optional

  • bandwidth (Number) Bandwidth in Mbps. Default: 50
  • enabled (Boolean) Whether to enable the tunnel. Default: true
  • encryption (String) Encryption algorithm
  • notes (String) Notes for the tunnel
  • options (Attributes) (see below for nested schema)
  • psk (String) Pre-shared key
  • source_identity (String) Source identity (FQDN)
  • source_type (String) Source type (sdwan, firewall, router, other)
  • template (String) Template name
  • vendor (String) Vendor name

Read-Only

  • tunnel_id (Number) IPSec tunnel ID

Nested Schema for options

Optional:

Nested Schema for options.xff

Optional:

  • enabled (Boolean) Default: false
  • iplist (List of String)

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_ip_sec_tunnel.my_netskope_ip_sec_tunnel
  id = 0
}

The terraform import command can be used, for example:

terraform import netskope_ip_sec_tunnel.my_netskope_ip_sec_tunnel 0