diff --git a/website/cue/reference/remap/functions/truncate.cue b/website/cue/reference/remap/functions/truncate.cue index f67e444084a78..7d0c35c2914e8 100644 --- a/website/cue/reference/remap/functions/truncate.cue +++ b/website/cue/reference/remap/functions/truncate.cue @@ -25,7 +25,7 @@ remap: functions: truncate: { This argument is deprecated. An ellipsis (`...`) is appended if this is set to `true` _and_ the `value` string ends up being truncated because it's exceeded the `limit`. """ - required: true + required: false type: ["boolean"] }, { @@ -34,8 +34,8 @@ remap: functions: truncate: { A custom suffix (`...`) will be appended to truncated strings. This is ignored if "ellipsis" is set to true for backwards compatibility. """ - required: true - type: ["boolean"] + required: false + type: ["string"] }, ] internal_failure_reasons: []