Puchify

Terraform Provider

Manage Puchify resources declaratively alongside your existing infrastructure.

Provider: puchify/puchify

The Puchify Terraform provider lets you manage cloud resources using HashiCorp Configuration Language (HCL) — the same tooling you use for AWS, GCP, and Azure.

Installation

terraform {
  required_providers {
    puchify = {
      source  = "puchify/puchify"
      version = "~> 1.0"
    }
  }
}

provider "puchify" {
  api_key = var.puchify_api_key
}
terraform init

Quick start

resource "puchify_server" "web" {
  name   = "web-prod-01"
  plan   = "shared-2"
  region = "us-east"
  image  = "ubuntu-24.04"
}

output "server_ip" {
  value = puchify_server.web.ipv4
}

Why Terraform?

  • Declarative — describe the desired state, Terraform handles the rest
  • Idempotent — applies are safe to run repeatedly
  • Plan/Apply — see what changes before making them
  • State management — Terraform tracks resource state automatically
  • Existing infra — manage Puchify alongside AWS, GCP, Azure in one state file

Available resources

ResourceDescription
puchify_serverCloud servers
puchify_gpu_serverGPU-accelerated servers
puchify_dataManaged data resources
puchify_kubernetes_clusterKubernetes clusters
puchify_object_storage_bucketS3-compatible buckets
puchify_file_storage_shareNFS file shares
puchify_load_balancerHTTP/TCP load balancers
puchify_vpn_gatewayVPN gateways
puchify_nat_gatewayNAT gateways
puchify_backupBackup schedules
puchify_webhookWebhook subscriptions

Data sources

Data sourceDescription
data.puchify_serversList/filter existing servers
data.puchify_regionsAvailable regions
data.puchify_plansAvailable server plans
data.puchify_imagesAvailable OS images

On this page