Skip to content

Latest commit

 

History

History
46 lines (37 loc) · 1.41 KB

index.html.markdown

File metadata and controls

46 lines (37 loc) · 1.41 KB
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.

Vultr Provider

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

terraform {
  required_providers {
    vultr = {
      source = "vultr/vultr"
      version = "2.11.0"
    }
  }
}

# Configure the Vultr Provider
provider "vultr" {
  api_key = "VULTR_API_KEY"
  rate_limit = 700
  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 3 calls per second. This field lets you configure how the rate limit using milliseconds. The default value if this field is omitted is 650 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.