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.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" {
# ...
}
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.Provides configuration for a dedicated physical server with full hardware access on Vultrs infrastructure.
Provides management of Vultr Block Storage volumes for additional persistent storage capacity.
A resource for creating and managing private container registries on the Vultr platform to store and distribute container images
A resource for creating and managing Vultr managed database instances with configurable engine types and versions.
Retrieves financial information about your Vultr account including balance, pending charges, and payment details.
Retrieves information about applications available for deployment when creating a Vultr VPS instance.
Retrieves information about a Vultr backup including its description, size, status, and creation date
Provides information about available bare metal server plans on Vultrs platform.