Skip to content

netskopeoss/terraform-provider-netskopebwan

Repository files navigation

Terraform Provider for Netskope Borderless SD-WAN

Requirements

Using The Provider

The Netskope Borderless SD-WAN Terraform Provider Repo includes sample plans to get you started. Here are the following steps to be done before executing the terraform plans.

Netskope Borderless SD-WAN Tenant Tasks

  1. Identify the "Base URL" for your Netskope Borderless SD-WAN tenant.

  2. Login to Tenant URL and and create a Token to use it as credentials.

    • Token can be created by navigating the page "Administration --> Token --> (+) Button"
    • Token Permissions will be like as follows (Its just an example):
            [
              {
                "rap_resource": "",
                "rap_privs": [
                  "privSiteCreate",
                  "privSiteRead",
                  "privSiteWrite",
                  "privSiteDelete",
                  "privSiteToken",
                  "privSiteRestart",
                  "privSiteOpsRead",
                  "privSiteOpsWrite",
                  "privTokenRead",
                  "privPolicyCreate",
                  "privPolicyRead",
                  "privPolicyWrite",
                  "privPolicyDelete",
                  "privAppRead",
                  "privAuditRecordCreate"
                ]
              }
            ]
    
    

Terraform Configuration

  1. Setup Required Providers in TF file. File is already included (examples/version.tf)
        terraform {
          required_version = ">=0.0.1"
          required_providers {
            netskopebwan = {
              source  = "netskopeoss/netskopebwan"
              version = "0.0.1"
            }
          }
        }
    

Credentials Input

  1. Identify the "Base API URL" for your Netskope Borderless SD-WAN tenant.

  2. There are two ways, you can feed the credentials.

    • Through Environment Variables

      • NS_SDWAN_MGMT_URL - Tenant API URL
      • NS_SDWAN_MGMT_TOKEN - Token created in the first step.
    • Configure it in the Provider Block (example file at examples/provider.tf)

Execution

Docs Directory has detailed documentations for each resource / data source directive.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors