-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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
Resource aws_sqs_queue.redrive
shows changes when there are no changes
#5119
Comments
👍 seeing the same thing
sqs_redrive_policy.json.tpl
the order of 'maxReceiveCount' & 'deadLetterTargetArn' in the rendered redrive policy template keep switching on planning. |
Same here, Terraform v0.6.12. |
Hey Friends – I've opened #5888 to patch this. It's 1 part code fix, one part documentation; the redrive_policy = <<EOF
{
"maxReceiveCount": 3,
"deadLetterTargetArn": "${aws_sqs_queue.my_dead_letter_queue.arn}"
}
EOF
} Unfortunately, because this is a JSON I can't immediately inspect it and format automatically, so you'll need to make that correction. |
@catsby How do you pass integer if we were to set maxReceiveCount via terraform.tfvars ? |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Each time I run
terraform plan
without changing anything about theaws_sqs_queue
resource, it always shows theredrive_policy
field as modified. Upon review, I can see the changes it shows are only related to white space (new lines).Given:
Running
terraform apply
and thenterraform plan
yields changes. I expect it to yield no changes.The text was updated successfully, but these errors were encountered: