Terraform Provider
Table of Contents
Introduction
We present the basics of the Terraform Provider.
Example
terraform {
required_providers {
grid = {
source = "threefoldtech/grid"
}
}
}
provider "grid" {
mnemonics = "FROM THE CREATE TWIN STEP"
network = grid network, one of: dev test qa main
key_type = key type registered on substrate (ed25519 or sr25519)
relay_url = example: "wss://relay.dev.grid.tf"
rmb_timeout = timeout duration in seconds for rmb calls
substrate_url = substrate url, example: "wss://tfchain.dev.grid.tf/ws"
}
Environment Variables
should be recognizable as Env variables too
MNEMONICS
NETWORK
SUBSTRATE_URL
KEY_TYPE
RELAY_URL
RMB_TIMEOUT
The *_URL variables can be used to override the dafault urls associated with the specified network