Terraform provider
sazabi_mcp_connector
Terraform resource for a custom MCP connector.
Manages a custom MCP connector with header-based or AWS SigV4 authentication. It connects to the MCP server on create and refreshes the tool snapshot. OAuth connectors cannot be created here — reference them with the sazabi_mcp_connector data source instead. Headers and credentials are write-only.
Arguments
| Attribute | Type | Behavior | Description |
|---|---|---|---|
server_url | string | Required | MCP server URL. Must be HTTPS. |
transport | string | Required | streamable-http or sse. |
headers | list(block) | Optional, Sensitive | Header auth. Each has id, name, and a sensitive value. Conflicts with aws_sig_v4. |
aws_sig_v4 | object | Optional, Sensitive | AWS SigV4 auth: access_key_id, sensitive secret_access_key, optional session_token, and region. Conflicts with headers. |
project_id | string | Optional, Computed | Owning project. Defaults to the secret key's project scope. Immutable. |
provider_id | string | Optional, Computed | Built-in provider to associate. Immutable. |
read_only | bool | Optional, Computed | Restrict to read-only tools. Defaults to false. |
connection_id | string | Computed | Connection UUID; use in import blocks. |
connection_key | string | Computed | Stable reference key. |
display_name | string | Computed | Connector display name. |
source | string | Computed | Connector source. |
install_status | string | Computed | configured, authorizing, connected, or error. |
auth_mode | string | Computed | none, headers, oauth, or aws-sigv4. |
enabled_tool_count | number | Computed | Number of enabled tools. |
connected_at | string | Computed | Last connected time (RFC 3339). |
created_at | string | Computed | Creation timestamp (RFC 3339). |
updated_at | string | Computed | Last-update timestamp (RFC 3339). |
Import
terraform import sazabi_mcp_connector.example mcp_...