AISIA Terraform provider and deployment modules
In short
The aisia-foundation/aisia Terraform provider manages the configuration of an AISIA instance as code: organisations, users, API keys, per-organisation LLM provider keys, guardrails, webhooks and local models. It is published on the public Terraform registry, alongside seven deployment modules, at version 6.14.46 as of 2026-11-29.
The provider drives the AISIA API; the modules describe how to deploy the platform on existing infrastructure. Both are separate from the multicloud inference pack, which stays in simulation.
Talk about a dedicated instanceDeclaring the provider
The source is aisia-foundation/aisia. The token is read from the AISIA_TOKEN environment variable: an administration key for the instance, to be handled as a secret. AISIA_ENDPOINT targets an instance other than https://api.aisia.fr, for example a BaaS or PaaS instance.
terraform {
required_providers {
aisia = {
source = "aisia-foundation/aisia"
version = "~> 6.14"
}
}
}
provider "aisia" {
# token read from AISIA_TOKEN; optional endpoint (AISIA_ENDPOINT)
}The main resources
| Resource | Purpose |
|---|---|
| aisia_organization | Organisation (tenant), with its plan and quotas |
| aisia_user | User and role in an organisation; a generated password is exposed once when none is given |
| aisia_api_key | Programmatic access key scoped to an organisation, with scopes, allowed models and budget; value exposed only at creation |
| aisia_provider_key | LLM provider key scoped to an organisation, validated by a real call to the provider before storage, never read back in clear |
| aisia_guardrail | Guardrail rule: filtered pattern and action (block or redact) |
| aisia_webhook | Outgoing webhook signed with HMAC, on the subscribed events |
| aisia_local_model | Local model declared in the database (runtime, endpoint, priority) |
The provider also exposes many read-only data sources, one per API catalogue; the current list is on the registry page.
Example: an organisation, its provider key and an API key
This example follows the provider documentation: it creates an organisation, stores its own OpenAI key and issues an API key for a continuous integration pipeline.
resource "aisia_organization" "acme" {
name = "ACME Corp"
slug = "acme"
contract_type = "saas"
}
resource "aisia_provider_key" "acme_openai" {
org_id = aisia_organization.acme.id
provider_id = "openai"
key_value = var.openai_key # variable marked sensitive
}
resource "aisia_api_key" "acme_ci" {
org_id = aisia_organization.acme.id
name = "ci-pipeline"
scopes = ["invoke", "compare"]
rate_limit_rpm = 120
}Declare variables that carry secrets with sensitive = true, and keep the Terraform state in an encrypted backend: it holds the values exposed at creation.
The deployment modules
Seven modules are published under the aisia-foundation namespace. They describe how to deploy the platform on an existing substrate; no production deployment of AISIA on these clouds is claimed.
| Module | Substrate |
|---|---|
| aisia-foundation/cluster/aisia | Existing Kubernetes cluster |
| aisia-foundation/swarm/aisia | Existing Docker Swarm cluster |
| aisia-foundation/aisia/aws | AWS: Swarm or Kubernetes (EKS) |
| aisia-foundation/aisia/azure | Azure: AKS or Swarm |
| aisia-foundation/aisia/google | Google Cloud: GKE or Swarm |
| aisia-foundation/aisia/ovh | OVHcloud: Managed Kubernetes or Swarm |
| aisia-foundation/aisia/scaleway | Scaleway: Kapsule or Swarm |
What Terraform does not do
- The platform multicloud inference pack is separate from these modules: its plan is prepared and simulated (dry-run), applying it is refused by the API and has never been run in production.
- AISIA runs no automatic terraform apply: applying stays a human decision in your pipeline.
- A declared resource does not prove that a model or a provider answers: check the real state through the API and the status page.
Frequently asked questions
Where is the provider?
On the public Terraform registry, under aisia-foundation/aisia. The check made on 2026-11-29 shows version 6.14.46 published that day, with the source code at github.com/aisia-foundation/terraform-provider-aisia.
Which token should I use?
An administration key for the instance, passed through the AISIA_TOKEN environment variable. Never write it into a versioned .tf file.
Does the provider work with a dedicated instance?
Yes: AISIA_ENDPOINT, or the provider endpoint argument, targets the API URL of your BaaS or PaaS instance.
Do the modules deploy AISIA on five clouds?
The modules describe that deployment on an existing substrate. AISIA claims no production deployment on these clouds, and the multicloud inference pack stays in simulation.
Sources
Public facts checked on the dates shown. A vendor page can change: check it before you decide.
- Terraform registry: aisia-foundation/aisia provider, checked on
- Terraform registry: modules published by aisia-foundation, checked on
- Provider source code, checked on
Related pages
- AISIA SDKs and CLI
- AISIA for integrators and IT services firms
- Integration architecture: SaaS, hybrid and on-premise
- API documentation