Skip to content

Recurring SQS Redrive rule for Terraform #83

@nmoutschen

Description

@nmoutschen

Follow-up of #79 but for terraform

What were you trying to accomplish?

Expected Behavior

If an SQS queue is a DLQ for another queue, it should not require a redrive_policy.

Current Behavior

Right now, all SQS queues require a redrive_policy per the aws_sqs_queue_redrive_policy rule.

Possible Solution

Inspect the redrive_policy of all queues and infer is a queue is a DLQ or not, then ignore the rule for those queues.

Steps to Reproduce (for bugs)

Skipping this

Environment

  • Infrastructure as code technology used: Terraform
  • (for cfn-lint) Python, cfn-lint, and cfn-lint-serverless versions: N/A
  • (for tflint) Go, tflint versions: Skipping this
  • Debugging logs

N/A

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