Files
floci/src/main/java
Feyikemi OgunsanyaandPriamo Germosen 58112b1f3b fix(cloudformation): map FIFO and redrive attributes for AWS::SQS::Queue (#1939)
* test(cloudformation): reproduce dropped DeduplicationScope and FifoThroughputLimit in SqsCfnProvisioner

* test(cloudformation): reproduce dropped RedrivePolicy in SqsCfnProvisioner

* fix(cloudformation): pass DeduplicationScope and FifoThroughputLimit to CreateQueue

* fix(cloudformation): serialize RedrivePolicy with resolved DLQ ARN for CreateQueue

* test(cloudformation): cover FifoQueue mapping for queues without an explicit QueueName

* fix(cloudformation): map FifoQueue and suffix generated FIFO queue names with .fifo

* test(cloudformation): verify CFN FIFO queue attributes end-to-end via CreateStack

* refactor(cloudformation): resolve FifoQueue once in SqsCfnProvisioner

* fix(cloudformation): unwrap already-serialized RedrivePolicy strings

RedrivePolicy in a template is usually a JSON object, but CDK commonly
emits it as an already-serialized JSON string via Fn::Join. resolveNode
collapses that to a TextNode, and calling toString() on it re-encodes
(quotes/escapes) the string a second time, so SqsService.createQueue
receives an unparseable value and the redrive silently doesn't work.

Reported on #1939.

* test(cloudformation): add regression test for string-form RedrivePolicy

Reproduces the double-encoding bug reported on #1939: when RedrivePolicy
is supplied as an already-serialized JSON string (CDK's common Fn::Join
form), resolveNode collapses it to a TextNode and TextNode#toString()
re-quotes/escapes it, so SqsService receives an unparseable value.

* chore: retrigger CI (transient base-image layer pull failure)

---------

Co-authored-by: Priamo Germosen <6233424+pgermosen@users.noreply.github.com>
2026-08-14 17:10:26 -04:00
..