FugokuFugoku Docs
Mask

Infrastructure as Code

Manage Fugoku infrastructure with Terraform, Ansible, and other IaC tools

Infrastructure as Code

Manage Fugoku infrastructure declaratively using Terraform, Ansible, Pulumi, and other IaC tools.

Coming Soon

Native IaC providers and CLI tools are currently under development. In the meantime, use the REST API to manage your infrastructure programmatically.

Planned Support

We are working on first-class integrations for:

  • Terraform Provider — Manage Fugoku resources alongside your existing Terraform workflows.
  • Pulumi Provider — Use Pulumi's TypeScript, Python, and Go SDKs.
  • Ansible Dynamic Inventory — Auto-discover Fugoku servers in Ansible playbooks.
  • Fugoku CLI — A unified command-line interface for scripting and automation.

Using the API Today

Until IaC tools are available, you can automate Fugoku with the REST API:

# List servers
curl https://api.fugoku.com/v1/servers \
  -H "Authorization: Bearer $FUGOKU_API_TOKEN"

# Create a server
curl -X POST https://api.fugoku.com/v1/servers \
  -H "Authorization: Bearer $FUGOKU_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "data": {
      "type": "servers",
      "attributes": {
        "name": "web-1",
        "site": "lagos-1",
        "plan": "vm-standard",
        "operating_system": "ubuntu-22.04",
        "billing": "hourly",
        "role": "VirtualMachine"
      }
    }
  }'

See the API Reference for full documentation.

On this page