Skip to content

Better error messaging around Error: maintenance in subscription xxx not found #666

@jestallin

Description

@jestallin
  │ Error: maintenance in subscription xxx not found
  │ 
  │   with data.rediscloud_subscription.source,
  │   on dependencies.tf line 2, in data "rediscloud_subscription" "source":
  │    2: data "rediscloud_subscription" "source" {

We confirmed with our Redis rep that when we encounter this error that it has been explained a limitation of trying to perform multiple operations on Redis databases at the same time in our subscription. The existing error message is confusing to developers who have not seen the error message before.

Is it possible to improve the error message for this scenario? Maybe use the 429 response code from the REST api
https://redis.io/docs/latest/operate/rc/api/api-reference/#tag/Databases-Pro/operation/createDatabase

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions