Skip to content

netscaler/terraform-provider-citrixadm

Repository files navigation

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.