» 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.
» Example Usage
# Configure the gridscale provider
provider "gridscale" {
uuid = "${var.gridscale_uuid}"
token = "${var.gridscale_token}"
}
# Create a server
resource "gridscale_server" "servername"{
# ...
}
» 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.