Skip to content
This repository has been archived by the owner on Oct 26, 2023. It is now read-only.

Not working for second time #14

Open
ghorui opened this issue Jun 20, 2017 · 0 comments
Open

Not working for second time #14

ghorui opened this issue Jun 20, 2017 · 0 comments

Comments

@ghorui
Copy link

ghorui commented Jun 20, 2017

I tried this plugin.. Changes are as follows.
Package.json:
"devDependencies": {
"serverless-plugin-cloudwatch-sumologic": "0.0.10"
}

serverless.yml:
custom:
defaultStage: dev
defaultRegion: us-east-1
AIRID: ''
projectName: "4592_${self:service}"
shipLogs:
# Required
arn: "arn:aws:lambda:us-east-1:
:function:Cloud***-dev-pushLogs***"
plugins:

  • serverless-plugin-cloudwatch-sumologic

When I deployed this project. The Subscription was successful.
but the SID created is with one shortid (append at last). (Not sure from where it is getting populated).

Now I have removed the subscription from the aws console and re-deploy the function again.
First: when I removed the subscription manually, the corresponding entry in Function Policy file did not reverted back.
Second: When I re-deploy the code, subscription did not take place.
Third: I tried re-deploying after flushing the function policy file with "aws lambda remove-permission" command. In this case also the subscription did not take place.

@ghorui ghorui changed the title Not working in second time Not working for second time Jun 20, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant