» gridscale Provider

The gridscale provider is used to interact with many resources supported by gridscale. The provider needs to be configured with the proper credentials before it can be used.

Use the navigation to the left to read about the available data sources and resources.

» Example Usage

# Configure the gridscale provider
provider "gridscale" {
    uuid = var.gridscale_uuid
    token = var.gridscale_token


# Create a server
resource "gridscale_server" "servername"{
  # ...

Also make sure to check out our other Terraform examples over at github.com/gridscale/terraform_examples.

» Argument Reference

The following arguments are supported:

  • uuid - (Required) This is the User-UUID for the gridscale API. It can be found in the panel. If omitted, the GRIDSCALE_UUID environment variable is used.
  • token - (Required) This is an API-Token for the gridscale API. It can be created in the panel. The created token needs to have full access to be usable by Terraform. If omitted, the GRIDSCALE_TOKEN environment variable is used.
  • api_url - (Optional) The URL for the API. By default this is set to "https://api.gridscale.io". Do not add a "/" character at the end.
  • http_headers - (Optional) Custom HTTP headers sent to gridscale server. If omitted, the GRIDSCALE_TF_HEADERS environment variable is used.