layout | page_title | sidebar_current | description |
---|---|---|---|
vultr |
Provider: Vultr |
docs-vultr-index |
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. |
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.
terraform {
required_providers {
vultr = {
source = "vultr/vultr"
version = "2.22.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" {
# ...
}
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 is500 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 is3
retries.