Vultr DocsLatest Content


Terraform

Updated on 15 September, 2025

The Vultr provider is used to interact with the resources supported by Vultr. The provider needs to be configured with the proper credentials before it can be used.

Example Usage

hcl
terraform {
  required_providers {
    vultr = {
      source = "vultr/vultr"
      version = "2.27.1"
    }
  }
}

# Configure the Vultr Provider
provider "vultr" {
  api_key = "VULTR_API_KEY"
  rate_limit = 100
  retry_limit = 3
}

# Create a web instance
resource "vultr_instance" "web" {
  # ...
}

Argument Reference

The following arguments are supported:

  • api_key - (Required) This is the Vultr API key. This can also be specified with the VULTR_API_KEY shell environment variable.
  • rate_limit - (Optional) Vultr limits API calls to 30 calls per second. This field lets you configure how the rate limit using milliseconds. The default value if this field is omitted is 500 milliseconds per call.
  • retry_limit - (Optional) This field lets you configure how many retries should be attempted on a failed call. The default value if this field is omitted is 3 retries.