sincecutoff.com
← all changes

Pulumi SDK customTimeouts adds read timeout

Introduced 2026-06-11 · score 0.93

HOW TO USE IT

When setting a timeout for a custom resource’s read operation, pass `customTimeouts: { read: "<duration>" }` in its resource options. The provider must support custom timeouts for that resource.

const resource = new <Resource>("<name>", <args>, { customTimeouts: { read: "5m" } });

WHY THIS HELPS

Set a timeout for resource read operations in a Pulumi program.

REQUIREMENTS AND LIMITATIONS

  • Version: v3.246.0
  • customTimeouts: Optional resource option containing custom operation timeouts.
  • customTimeouts.read: Optional read timeout; a duration string such as `5m`, `40s`, or `1d`.
  • customTimeouts.create: Optional create timeout, represented as a duration string.
  • customTimeouts.update: Optional update timeout, represented as a duration string.
  • customTimeouts.delete: Optional delete timeout, represented as a duration string.
  • Prerequisite: Use on a custom resource; the option has no direct effect on component resources.
  • Prerequisite: The particular resource’s provider implementation must support custom timeouts; otherwise the setting may be ignored with a warning.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card