Installing the provider

Install the Sectigo Terraform provider

  1. Download the provider package.

  2. Unzip and extract the provider binary file.

    terraform-provider-sectigo_v<VERSION>.

  3. Create the Terraform plugin directory by replacing the placeholders with your parameters.

    ~/.terraform.d/plugins/<hostname>/<namespace>/<name>/<version>/<os>_<arch>/

    Parameter Description

    <hostname>

    The provider’s domain (for example, tf.ccmqa.com).

    <namespace>

    The namespace or organization (for example, test)

    <name>

    The provider name (for example, sectigo).

    <version>

    The provider version (for example, 26.01.02).

    <os>_<arch>

    The operating system and architecture (for example, linux_amd64).

    Example

    mkdir -p ~/.terraform.d/plugins/tf.ccmqa.com/test/sectigo/26.01.02/linux_amd64/

  4. Set Execution Permissions.

    chmod +x terraform-provider-sectigo_v<VERSION>

  5. Copy the provider binary into the plugin directory you created.

    cp terraform-provider-sectigo_v<VERSION> ~/.terraform.d/plugins/tf.ccmqa.com/test/sectigo/26.01.02/linux_amd64/

  6. Verify Installation.

    • In your Terraform configuration, specify the provider source and version:

      terraform {
        required_providers {
          sectigo = {
            source  = "tf.ccmqa.com/test/sectigo"
            version = "26.01.02"
          }
        }
      }
    • Run terraform init.

      Terraform should detect and initialize the custom provider.