intutic_gateway Cloud
A self-hosted gateway registered with POST /api/v1/gateways (Enterprise and Self-host plans). Gateways belong to the workspace's organization. Registration returns the gateway's gwk_… token once; it is stored in state as a sensitive value for INTUTIC_GATEWAY_TOKEN. Destroying the resource revokes the gateway and its token at once. Needs an OWNER or ADMIN key.
Example Usage
terraform
resource "intutic_gateway" "edge" {
name = "eu-edge"
deployment_target = "kubernetes"
require_vk = true
}
# Store the token where the gateway reads INTUTIC_GATEWAY_TOKEN, for example
# a Kubernetes secret.
resource "kubernetes_secret" "gateway_token" {
metadata {
name = "intutic-gateway"
}
data = {
INTUTIC_GATEWAY_TOKEN = intutic_gateway.edge.token
}
}Schema
Required
deployment_target(String) One ofdocker,kubernetes,bare_metal.name(String)
Optional
require_provisioned_key(Boolean) Pushed to the gateway's proxy as live config: require the caller's own provider key. Unset leaves the gateway's current value alone.require_vk(Boolean) Pushed to the gateway's proxy as live config: require a virtual key on every request. Unset leaves the gateway's current value alone.
Read-Only
created_at(String)id(String) The gateway id (gw_…).key_prefix(String)status(String) Registration status (pendinguntil the gateway first reports in).token(String, Sensitive) The gateway'sgwk_…token. Only known for a gateway Terraform registered.
Import
shell
# Import by gateway id. The token cannot be recovered after registration.
terraform import intutic_gateway.edge gw_0123456789abcdef