diff --git a/cloudformation/sqsqueue.yaml b/cloudformation/sqsqueue.yaml index df7dc4b98..725a49646 100644 --- a/cloudformation/sqsqueue.yaml +++ b/cloudformation/sqsqueue.yaml @@ -86,6 +86,7 @@ Resources: SQSQueue: Type: 'AWS::SQS::Queue' Properties: + QueueName: !Ref ResourceName ContentBasedDeduplication: !If - IsFifo - !Ref ContentBasedDeduplication diff --git a/examples/cloudformationtemplates/sqsqueue.yaml b/examples/cloudformationtemplates/sqsqueue.yaml index ac4040e30..dbd152627 100644 --- a/examples/cloudformationtemplates/sqsqueue.yaml +++ b/examples/cloudformationtemplates/sqsqueue.yaml @@ -93,6 +93,7 @@ data: SQSQueue: Type: 'AWS::SQS::Queue' Properties: + QueueName: !Ref ResourceName ContentBasedDeduplication: !If - IsFifo - !Ref ContentBasedDeduplication @@ -142,4 +143,4 @@ data: Value: !If [ CreateDeadLetterQueue, !GetAtt MyDeadLetterQueue.Arn, "" ] DeadLetterQueueName: Description: Name newly created SQS Queue - Value: !If [ CreateDeadLetterQueue, !GetAtt MyDeadLetterQueue.QueueName, "" ] \ No newline at end of file + Value: !If [ CreateDeadLetterQueue, !GetAtt MyDeadLetterQueue.QueueName, "" ]