Skip to content

Commit

Permalink
made the stack AWS account independent
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamil Janowski committed Oct 6, 2018
1 parent ec27d70 commit fb3d8d7
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions serverless.yml
Expand Up @@ -14,11 +14,6 @@ provider:
- "sns:Publish"
Resource:
- Ref: NotificationSNSTopic
- Effect: "Allow"
Action:
- "lambda:InvokeFunction"
Resource:
- "arn:aws:lambda:eu-west-1:630201600234:function:pathFinder-dev-createJobs"
- Effect: "Allow"
Action:
- "sqs:sendMessageBatch"
Expand Down Expand Up @@ -51,7 +46,8 @@ functions:
events:
- sqs:
batchSize: 1
arn: "arn:aws:sqs:eu-west-1:630201600234:dev-http-path-search-jobs" //TODO: remove
arn:
Fn::GetAtt: [ JobQueue, Arn ]
find:
handler: gateway.find
timeout: 10
Expand Down

0 comments on commit fb3d8d7

Please sign in to comment.