Official Registry
Declare source = "masterdaweb/masterdaweb" and terraform init downloads and verifies the provider.
Declare servers, firewalls, VPCs, DNS, serverless apps, databases and buckets in HCL. Review the plan, apply it and version your infrastructure alongside your code.
main.tf
terraform { required_providers { masterdaweb = { source = "masterdaweb/masterdaweb" } }} # The token comes from MW_TOKEN when it is left out.provider "masterdaweb" {} resource "masterdaweb_ssh_key" "laptop" { name = "laptop" public_key = file("~/.ssh/id_ed25519.pub")} resource "masterdaweb_instance" "web" { name = "web-1" region_id = 1 plan = "c2m4" image = "ubuntu-24-04" ssh_key_ids = [masterdaweb_ssh_key.laptop.id]}The same terraform plan and apply workflow you already use on other clouds.
Declare source = "masterdaweb/masterdaweb" and terraform init downloads and verifies the provider.
Servers, databases and records created in the console join your state with terraform import.
One codebase describes the server, the firewall, DNS, the app, the database and the bindings between them.
Protected databases, projects and services are only destroyed after you turn protection off.
Every release is published with a signature that Terraform verifies on install.
The provider uses public API v1 with a narrowly scoped token, read from MW_TOKEN.
Resources and data sources for every part of the platform.
A project, a web service built from Git, PostgreSQL and the binding that delivers DATABASE_URL.
Every apply that changes the service starts a deployment; the gradual rollout protects the new version.
app.tf
resource "masterdaweb_project" "loja" { name = "loja"} resource "masterdaweb_serverless_service" "web" { project_id = masterdaweb_project.loja.id name = "web" kind = "WEB" git = { repo_url = "https://github.com/ana/loja" branch = "main" } size = "small" min_instances = 0 max_instances = 5 rollout_percent = 10 rollout_minutes = 15} resource "masterdaweb_database" "db" { name = "loja-prod" engine = "postgres" size = "pg-1-1"} # DATABASE_URL in the service, with a login of its ownresource "masterdaweb_serverless_binding" "db" { service_id = masterdaweb_serverless_service.web.id resource_kind = "POSTGRES" resource_name = masterdaweb_database.db.name}The foundation of it all: every console resource has an endpoint, with JSON responses and errors that tell you what to do.
Everything the console does, in your terminal or pipeline: tables to read and JSON for scripts.
Connect Claude, Cursor or another MCP client and manage your account by chatting.
Create your account, generate a token and make your first call in minutes.