Skip to content

Error: timeoutInMs must be >0. #602

@rdss-sbreuer

Description

@rdss-sbreuer

Version information

  • terraform: latest, 1.13.0
  • terraform provider: labd/commercetools v1.20.0

Describe the bug

Timeouts should be optional according to the documentation.

However, when updating a resource this is not the case anymore.

# Terraform plan output:
~ resource "commercetools_api_extension" "extension" {
        id            = "d6e9245f-1dea-4332-9d6a-c72bdc99a9f1"
      - timeout_in_ms = 9000 -> null
        # (2 unchanged attributes hidden)

        # (2 unchanged blocks hidden)
    }

# Leads to:
 Error: 'timeoutInMs' must be >0.

To Reproduce

  • Create a resource ( api extension ) with timeout
  • Remove the timeout again

Expected behavior

The timeout should be optional, as described in the documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions