| page_title | subcategory | description |
|---|---|---|
netskope_ip_sec_tunnel Resource - terraform-provider-netskope |
IPSecTunnel Resource |
IPSecTunnel Resource
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..."
}pop_names(List of String) List of POP namessite(String) Site name for the tunnelsource_ip(String) Source IP identity
bandwidth(Number) Bandwidth in Mbps. Default: 50enabled(Boolean) Whether to enable the tunnel. Default: trueencryption(String) Encryption algorithmnotes(String) Notes for the tunneloptions(Attributes) (see below for nested schema)psk(String) Pre-shared keysource_identity(String) Source identity (FQDN)source_type(String) Source type (sdwan, firewall, router, other)template(String) Template namevendor(String) Vendor name
tunnel_id(Number) IPSec tunnel ID
Optional:
reauth(Boolean) Default: falserekey(Boolean) Default: falsexff(Attributes) (see below for nested schema)
Optional:
enabled(Boolean) Default: falseiplist(List of String)
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