4.0.0 (2023-01-03)
⚠ BREAKING CHANGES
var.redrive_policy
, andvar.redrive_policy
data types have changed fromstring
toany
which is a map of values. The conversion from a map to a jsonencoded string is now handled by the modulevar.name_prefix
has been replaced withvar.use_name_prefix
which is a boolean that will usevar.name
as a prefixvar.policy
has been removed; users can create a policy via the queue policy or dead-letter queue policy which by default uses the associated queue ARN as theresource
(avoids the chicken vs the egg scenario)- When creating a FIFO queue, the
.fifo
postfix will now be automatically added to the queue name - Added support for creating:
- Queue policy
- Dead letter queue
- Dead letter queue policy
- Redrive and redrive allow policies have been converted to their separate resources to avoid lifecycle conflicts; now you can create both the source queue and dead-letter queue in the same
terraform apply
without conflict - The queue data source previously used to extract the queue name has been replaced since this is natively supported in the current AWS provider queue resource
See the UPGRADE-4.0.md
guide for more details