From e9b0407485f33fe083bb7d2c5125e1ad223a1a8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ernestas=20Luko=C5=A1evi=C4=8Dius?= Date: Wed, 6 Mar 2019 15:29:15 +0200 Subject: [PATCH] Add QueueName --- cloudformation/sqsqueue.yaml | 1 + examples/cloudformationtemplates/sqsqueue.yaml | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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, "" ]