---
title: Terraform
url: https://docs.vultr.com/reference/terraform
publish_date: 2025-09-15T13:29:33.877576Z
last_updated: 2026-10-19T18:47:00.600881Z
---

> Index of every Vultr Docs page in markdown: https://docs.vultr.com/llms.txt

The Vultr provider is used to interact with the
resources supported by [Vultr](https://www.vultr.com). 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](https://my.vultr.com/settings/#settingsapi). 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.
