Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recurring SQS Redrive rule for Terraform #83

Open
nmoutschen opened this issue Jul 7, 2021 · 1 comment
Open

Recurring SQS Redrive rule for Terraform #83

nmoutschen opened this issue Jul 7, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@nmoutschen
Copy link
Contributor

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

@nmoutschen nmoutschen added the bug Something isn't working label Jul 7, 2021
@nmoutschen
Copy link
Contributor Author

Won't fix for now as TFLint cannot cross-reference resources based on dynamic values. See #107

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant