On plan, redrive_policy is always marked as modified #1177
Labels
bug
Addresses a defect in current functionality.
service/sqs
Issues and PRs that pertain to the sqs service.
This issue was originally opened by @kfrn as hashicorp/terraform#15579. It was migrated here as a result of the provider split. The original body of the issue is below.
Every time I run
terraform plan
, the redrive policies for my SQS queues show up as modified, even though they actually have no changes.I'm using a module to create my SQS queues.
maxReceiveCount
is set in the module variables:Terraform Version
Terraform v0.9.8
Expected Behaviour
That no change is detected for the redrive policies, since no change has been made.
Actual Behaviour
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform get
terraform plan -var-file=<var-file>.tfvars -out=<my-update>.plan -state=<current-state-file>.tfstate
terraform apply -state-out=<new-state-file>.tfstate <my-update>.plan
References
This problem was discussed in February 2016, here: hashicorp/terraform#5119
It seems to have been because the
maxReceiveCount
in that person's code was a string, not a number; the bug then garnered a patch (#5888).So I'm really unsure why this is happening for me. For the record, my
maxReceiveCount
is definitely an integer.The text was updated successfully, but these errors were encountered: