Skip to content

Overview

You can manage Verda resources declaratively using infrastructure-as-code tools — the Verda provider works the same way in both Terraform and OpenTofu, so pick whichever you already use.

  1. Install Terraform 1.0+ or OpenTofu 1.6+.
  2. Get an API token — see Create API credentials.
  3. Follow your tool's getting-started guide: Terraform or OpenTofu.

Already using Terraform and want to switch? See Migration from Terraform.

Terraform is officially supported via the Verda Cloud registry and is compatible with Terraform 1.x. OpenTofu is an open-source fork of Terraform; the Verda provider works seamlessly with it, and you can source it directly from the OpenTofu registry if you prefer. Specify one of these sources in your configuration:

# From Terraform Registry (works in OpenTofu as well)
terraform {
  required_providers {
    verda = {
      source  = "verda-cloud/verda"
      version = "~> 1.0"
    }
  }
}

# Or, explicitly from OpenTofu Registry
terraform {
  required_providers {
    verda = {
      source  = "registry.opentofu.org/verda-cloud/verda"
      version = "~> 1.0"
    }
  }
}

Replace the version constraint with the latest provider version available in the registry.

Prerequisites

  • A Verda account with API access and an API token.
  • Terraform 1.0 or newer, or OpenTofu 1.6 or newer installed on your local machine.
  • Basic familiarity with HCL (HashiCorp Configuration Language).