Skip to main content

forge_resource_gateway (Resource)

A customer-deployed Forge gateway that carries direct and automatic access to assigned Resources. Assign a Gateway through each Resource’s gateway_id. Resources without an assignment can remain in the catalog, but Forge cannot route them directly or automatically. Version-pinned Docker Compose deployment files are created in Forge Console. Their deployment credential is never returned to Terraform or stored in state.

Example Usage

After deploying the Gateway from Forge Console, obtain a short-lived client credential with forge resources token 'Orders API'. The command prints only the token and does not persist it.

Schema

Required

  • hostname (String) DNS hostname clients use to reach this Resource Gateway.
  • name (String)

Optional

  • enabled (Boolean)

Read-Only

  • id (String) The ID of this resource.
  • management_mode (String) Where this Resource Gateway is managed.
  • manager_id (String) Terraform manager that owns this Resource Gateway.
  • manager_instance (String) Terraform workspace that owns this Resource Gateway.