@agiledigital/serverless-sns-sqs-lambda
Advanced tools
Comparing version 0.1.11 to 0.1.12
@@ -6,2 +6,9 @@ # Changelog | ||
## [0.1.12](https://github.com/agiledigital/serverless-sns-sqs-lambda/compare/v0.1.11...v0.1.12) (2020-09-11) | ||
### Bug Fixes | ||
* Use raw ARN to avoid cyclic dependency ([f16ab09](https://github.com/agiledigital/serverless-sns-sqs-lambda/commit/f16ab09fa5872c804cd8ea64771e3cd27ca51865)) | ||
## [0.1.11](https://github.com/agiledigital/serverless-sns-sqs-lambda/compare/v0.1.10...v0.1.11) (2020-08-11) | ||
@@ -8,0 +15,0 @@ |
@@ -305,3 +305,3 @@ "use strict"; | ||
*/ | ||
addLambdaSqsPermissions(template, { name }) { | ||
addLambdaSqsPermissions(template, { name, prefix }) { | ||
template.Resources.IamRoleLambdaExecution.Properties.Policies[0].PolicyDocument.Statement.push( | ||
@@ -316,5 +316,4 @@ { | ||
Resource: [ | ||
{ | ||
"Fn::GetAtt": [`${name}Queue`, "Arn"] | ||
} | ||
`arn:aws:sqs:#{AWS::Region}:#{AWS::AccountId}:${prefix}${name}Queue`, | ||
`arn:aws:sqs:#{AWS::Region}:#{AWS::AccountId}:${prefix}${name}DeadLetterQueue` | ||
] | ||
@@ -321,0 +320,0 @@ } |
{ | ||
"name": "@agiledigital/serverless-sns-sqs-lambda", | ||
"version": "0.1.11", | ||
"version": "0.1.12", | ||
"description": "serverless plugin to make serverless-sns-sqs-lambda events", | ||
@@ -5,0 +5,0 @@ "main": "lib/serverless-sns-sqs-lambda.js", |
@@ -7,3 +7,6 @@ # Serverless Sns Sqs Lambda | ||
[![Language grade: JavaScript](https://img.shields.io/lgtm/grade/javascript/g/agiledigital/serverless-sns-sqs-lambda.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/agiledigital/serverless-sns-sqs-lambda/context:javascript) | ||
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release) | ||
![npm](https://img.shields.io/npm/v/@agiledigital/serverless-sns-sqs-lambda) | ||
This is a Serverless Framework plugin for AWS lambda Functions. Currently, it | ||
@@ -10,0 +13,0 @@ is possible to subscribe directly to an SNS topic. However, if you want to |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20759
69
388