netscaler / terraform-provider-citrixadm

Terraform Custom Provider for NetScaler ADM Service | Part of NetScaler Automation Toolkit

Home Page:https://github.com/netscaler/automation-toolkit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Terraform Citrix ADM Service Provider

Terraform provider for Citrix ADM Service provides Infrastructure as Code (IaC) to manage your ADCs via ADM. Using the terraform provider you can onboard ADCs in ADM, assign licenses, create and trigger stylebooks, run configpacks etc.

Requirements

  • Terraform 1.x.x
  • Go 1.11+ (to build the provider plugin)

Examples

Example terrform scripts can be found in examples folder

Installing The Provider

Till the provider is available in terraform registry, you can install the provider via the following steps:

The latest released version of the provider is available on the Release Page.

Download the zip file as per your operating system and architecture.

Click below against your operationg system to know how to install the provider.

Linux
  1. Extract the zip file and copy the binary to ~/.terraform.d/plugins/registry.terraform.io/citrix/citrixadm/<VERSION>/linux_amd64 directory. Create the directory if this is not already present.
1. where `<VERSION>` is the version of the provider you have downloaded.  Eg: `0.5.0`
MacOS
  1. Extract the zip file and copy the binary to ~/.terraform.d/plugins/registry.terraform.io/citrix/citrixadm/<VERSION>/darwin_amd64 directory. Create the directory if this is not already present.
1. where `<VERSION>` is the version of the provider you have downloaded. Eg: `0.5.0`
Windows
  1. Extract the zip file and copy the .exe file to %APPDATA%/terraform.d/plugins/registry.terraform.io/citrix/citrixadm/<version>/<OSARCH>/ directory. Create the directory if this is not already present.

    1. Where, <version> is the version of the provider, Eg: 0.5.0, <OSARCH> is the operating system and architecture. Eg: windows_amd64(usually this will be the one) or windows_386
    2. You can check the location of APPDATA by running echo %APPDATA% in a command prompt.

Validate the installation

  1. Copy a sample provider.tf file to a new directory.
  2. Open command prompt/terminal and run the following command:
  3. terraform init and terraform validate

Using the provider

Documentation can be found here.

About

Terraform Custom Provider for NetScaler ADM Service | Part of NetScaler Automation Toolkit

https://github.com/netscaler/automation-toolkit

License:MIT License


Languages

Language:Go 99.2%Language:Makefile 0.8%