### Configure Vultr Provider and Create Instance Source: https://registry.terraform.io/providers/vultr/vultr/latest/docs This snippet shows how to configure the Vultr provider with API key and rate limits, and includes a basic resource definition for a web instance. Ensure the VULTR_API_KEY environment variable is set or provide the API key directly. ```terraform terraform { required_providers { vultr = { source = "vultr/vultr" version = "2.31.2" } } } # 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" { # ... } ``` -------------------------------- ### Provider Configuration Source: https://registry.terraform.io/providers/vultr/vultr/latest/docs This snippet shows how to configure the Vultr provider in your Terraform configuration, including setting the API key and optional rate limiting and retry limits. ```APIDOC ## Provider Configuration ### Description Configure the Vultr provider with your API key and optional settings for rate limiting and retries. ### Arguments * `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. ### Example Usage ```terraform terraform { required_providers { vultr = { source = "vultr/vultr" version = "2.31.2" } } } # Configure the Vultr Provider provider "vultr" { api_key = "VULTR_API_KEY" rate_limit = 100 retry_limit = 3 } ``` ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.