I want to deploy an SQS queue from a CloudFormation template. Is there any issue with my template?
configurationQueue:
Type: 'AWS::SQS::Queue'
Properties:
QueueName: configuration-queue
VisibilityTimeout: 60
MessageRetentionPeriod: 86400
SQSQueuePolicy:
Type: 'AWS::SQS::QueuePolicy'
Properties:
PolicyDocument:
Version: 2012-10-17
Statement:
- Effect: Allow
Principal:
AWS: '*'
Action:
- 'sqs:CreateQueue'
- 'sqs:DeleteMessage'
- 'sqs:GetQueueAttributes'
- 'sqs:GetQueueUrl'
- 'sqs:ListQueueTags'
- 'sqs:ListQueues'
- 'sqs:ReceiveMessage'
- 'sqs:SendMessage
Resource: "arn:aws:sqs:us-west-2:****configuration-queue"
Queues:
- !Ref configurationQueue
This is the command I used
cfn-lint sqs-resources.yaml
and this is the error
sqs:SendMessage
is missing the end quote
CloudFormation Linter in VSCode shows errors inline while authoring templates along with autocompletion and documentation links