🦞
Resources

openclaw_channel_imessage

Manages the OpenClaw iMessage channel.

Manages the iMessage channel configuration. Requires macOS with iMessage configured.

Example Usage

resource "openclaw_channel_imessage" "main" {
  enabled      = true
  dm_policy    = "allowlist"
  allow_from   = ["+15555550123"]
  media_max_mb = 16
}

Argument Reference

ArgumentTypeRequiredDefaultDescription
enabledBoolNo--Enable or disable the iMessage channel.
dm_policyStringNo"pairing"DM policy: pairing, allowlist, open, disabled.
allow_fromList(String)No--Phone numbers or identifiers allowed to message.
history_limitInt64No50Max chat history messages to fetch.
media_max_mbInt64No16Max inbound media size in MB.
serviceStringNo--iMessage service selection. Defaults to auto.
regionStringNo--Region for the iMessage channel.

Attribute Reference

AttributeTypeDescription
idStringAlways "channel_imessage".

Import

terraform import openclaw_channel_imessage.main channel_imessage

On this page