A terraform provider for the threefold grid to manage your infrastructure using terraform.
-
Terraform >= 0.13.x
-
Go >= 1.15
-
to use the built plugin in a terraform file, use the following provider config:
terraform {
required_providers {
grid = {
source = "threefoldtech/grid"
}
}
}
make docs
cd examples/resources/singlenode
export MNEMONICS="<mnemonics words>"
export NETWORK="<network>" # dev or test
terraform init && terraform apply -parallelism=1 # creates resources defined in main.tf
terraform destroy -parallelism=1 # destroy the created resource
- For a tutorials, please visit the wiki page.
- Detailed docs for resources and their arguments can be found in the docs.
make
To run the tests, export MNEMONICS and NETWORK export MNEMONICS="" export NETWORK="" # dev or test run the following command
make unittests
make integrationtests