Categorygithub.com/myklst/terraform-provider-st-namecheap
repositorypackage
0.2.2
Repository: https://github.com/myklst/terraform-provider-st-namecheap.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

terraform-provider-st-namecheap

A Terraform Provider for NameCheap domain management.

Prerequisites

NameCheap provides a sanbox environment for test purposes, please check HERE for details.

You'll need to apply for API access to NameCheap. You can do that on this API Access page.

Next, find out your IP address and add that IP (or any other IPs accessing this API) to this API Whitelisted IP page on NameCheap.

Once you've done that, make note of the API key, your IP address, and your username to fill into provider block.

Supported Versions

Terraform versionminimum provider versionmaxmimum provider version
>= 1.3.x0.1.0latest

Requirements

  • Terraform 1.3.x
  • Go 1.19 (to build the provider plugin)

Local Installation

  1. Run make file make install-local-custom-provider to install the provider under ~/.terraform.d/plugins.

  2. The provider source should be change to the path that configured in the Makefile:

    terraform {
      required_providers {
        st-namecheap = {
          source  = "myklst/st-namecheap"
          version = "~> 0.1"
        }
      }
    }
    
    provider "st-namecheap" {
      user_name   = "xxx"
      api_user    = "xxx"
      api_key     = "xxx"
      client_ip   = "xxx.xxx.xxx.xxx"
      use_sandbox = false
    }
    

Why Custom Provider

Namecheap does not support managing resources with Terraform.