Skip to content

Add Terraform support for Dead Letter Queue (DLQ) in scaleway_mnq_sqs_queue #3321

@GeryDeKocliko

Description

@GeryDeKocliko

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

At the moment, it is not possible to link a Dead Letter Queue (DLQ) to a Scaleway SQS-compatible queue using Terraform.
This configuration is only available through the Scaleway console.

Adding support for DLQs would allow users to fully manage their queue lifecycle (creation, retry policies, error handling) as code.

New or Affected Resource(s)

  • scaleway_mnq_sqs_queue

Potential Terraform Configuration

resource "scaleway_mnq_sqs_queue" "main" {
  name       = "main-queue"
  region     = "fr-par"

  redrive_policy {
    dead_letter_target_id = scaleway_mnq_sqs_queue.dlq.id
    max_receive_count      = 5
  }
}

resource "scaleway_mnq_sqs_queue" "dlq" {
  name   = "main-queue-dlq"
  region = "fr-par"
}

Metadata

Metadata

Assignees

Labels

enhancementmnqMessaging and queuing issues, bugs and feature requests

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions