Namecheap Terraform Provider



About Terraform

HashiCorp Terraform is an open-source 'infrastructure as a code' software tool that allows DevOps engineers to programmatically provision the physical resources an application requires to run.

'Infrastructure as code' is the process of managing and provisioning computer data centers through machine-readable definition files, rather than physical hardware configuration or interactive configuration tools. This approach to resource allocation allows developers to logically manage, monitor, and provision resources — as opposed to requiring that an operations team manually configure each required resource.

Terraform allows users to define their entire infrastructure simply by using declarative configuration files that might be stored in their VCS (version control system).

When a command is given to deploy and run a server, database, or load balancer, Terraform parses the code and translates it into an application programming interface (API) call to the resource provider.

Namecheap API

We have certain requirements for API activation to prevent system abuse. In order to have API enabled for your account, you should meet one of the following requirements:

  • Have at least 20 domains under your account
  • Have at least $50 on your account balance
  • Have at least $50 spent within the last 2 years
To enable access to our API, log in to your Namecheap account, go to the Profile section, select Tools, and choose the Namecheap API Access option for Business & Dev Tools:


You will get the API key almost immediately. Your API username is the same as your Namecheap account username. Once API access is enabled, you need to whitelist at least one IP before your API access will work:


Please keep in mind that only IPv4 addresses can be used. Whitelisted IPs are considered spam-free and safe for use.

Getting Started

Feel free to use the following resources to get started using Terraform with Namecheap:


If you have any questions, feel free to contact our Support Team.
Updated
Viewed
7524 times

Need help? We're always here for you.

notmyip